Mixed Integer Programming Solver Calculator

Model costs, capacities, and exact decision rules. Test binary, integer, and continuous choices with confidence. See optimal plans, charts, exports, and detailed reasoning fast.

Calculator Inputs

Use the responsive form below. It shows three columns on large screens, two on medium screens, and one on small screens.

Variable Objective Coefficient Type Lower Bound Upper Bound
Use x1 Coef x2 Coef x3 Coef Operator Right Side

Example Data Table

Variable Objective Coefficient Type Lower Bound Upper Bound
x19Integer010
x25Binary01
x37Continuous08
Constraint x1 x2 x3 Operator RHS
C1241.514
C21018
C332220

Formula Used

Objective function: Z = c1x1 + c2x2 + c3x3

Constraint form: a1x1 + a2x2 + a3x3 ≤, ≥, or = b

Variable domains: Continuous variables use real values, integer variables use whole numbers, and binary variables use only 0 or 1.

Displayed objective contribution: Contribution of xi = ci × xi

Slack for ≤ constraints: Slack = RHS − LHS

Surplus for ≥ constraints: Surplus = LHS − RHS

Equality residual: Residual = |LHS − RHS|

This page evaluates bounded candidates directly. Continuous variables are searched on the selected step size, so those results are discretized approximations.

How to Use This Calculator

  1. Choose whether you want to maximize or minimize the objective.
  2. Enter names, coefficients, types, and bounds for the three decision variables.
  3. Set a continuous step size. Smaller steps improve detail but increase work.
  4. Enable up to four constraints and enter each linear expression, operator, and right side value.
  5. Press Solve Model to generate the result block above the form.
  6. Review variable values, objective contribution, constraint slack, and the Plotly chart.
  7. Use the export buttons to save the solved output as CSV or PDF.

FAQs

1. What does this solver calculate?

It evaluates a bounded mixed integer optimization model with three variables and four optional linear constraints. It returns the best feasible objective found within the defined search space.

2. Can I mix variable types?

Yes. Each variable can be continuous, integer, or binary. That lets you model fixed yes or no decisions, count-based choices, and flexible real-valued allocations together.

3. Is the result always exact?

Integer and binary portions are evaluated exactly within their bounds. Continuous variables are searched using your selected step size, so continuous results are discretized approximations.

4. Why does step size matter?

Step size controls how many continuous candidate values are tested. Smaller steps improve precision, but they can greatly increase the number of combinations and processing time.

5. What is slack or residual?

Slack shows unused capacity for less-than constraints. Surplus shows excess over minimum requirements. Equality residual shows how closely the final solution matches the required equality.

6. Why might no feasible solution appear?

Your bounds and constraints may conflict. Review coefficients, operators, right-side values, and variable domains. Even one restrictive condition can remove every possible feasible combination.

7. What should I do if the search space is too large?

Tighten variable bounds, disable unnecessary constraints, or increase the continuous step size. Those changes reduce the number of tested combinations and make solving manageable.

8. What do the CSV and PDF exports include?

They include the solution status, objective value, variable table, and constraint evaluation. This makes it easier to archive, share, or compare scenarios outside the page.

Related Calculators

knapsack problem solverslack variable calculatorbranch and bound solverdual simplex solvertransportation problem solvershadow price calculatorbinary optimization calculatorconvex hull calculatorinterior point method solverportfolio optimization calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.