Approaches to LP/MILP | Characteristics |
---|---|
Problem-Based Optimization | Easier to create and debug |
Represent the objective and constraints symbolically | |
Solution time is longer because of translation time from problem form to matrix form | |
See the steps in Problem-Based Workflow | |
Basic example: Mixed-Integer Linear Programming Basics: Problem-Based or the video Solve a Mixed-Integer Linear Programming Problem using Optimization Modeling | |
Solver-Based Optimization | Harder to create and debug |
Represent the objective and constraints as matrices | |
Can use imported MPS problem | |
Solution time is shorter because there is no translation time to matrix form | |
See the steps in Optimization Problem Setup | |
Basic example: Mixed-Integer Linear Programming Basics: Solver-Based |