![]() |
Frontline Systems, Inc. |
||||||||||||||||||
|
|||||||||||||||||||
|
Speeding the Solution of MIP ProblemsYou have complete control over the strategies used by the SDK to speed the solution of mixed-integer problems. You simply set the appropriate "parameter" properties of the LP/Quadratic Solver engine. For example, to ask the SDK to generate "lift and cover cuts" (a powerful strategy for many problems), you would write:
If you're programming in a procedural language such as C, you can accomplish the same thing with:
You can also control how much time is spent generating these and other cuts, at the root or deeper in the Branch and Bound tree. As another example, to activate the "strong branching" strategy, you would simply write:
Controlling Solution Time on Integer ProblemsThe Solver Platform SDK provides several ways to control the solution time of problems with integer constraints. You can limit the number of subproblems explored and/or the number of integer solutions found, as well as the maximum time in seconds. Simply set the appropriate "parameter" property:
As another example, if you have the objective value of a known integer solution for a problem from a previous Solver run, you can enter it as an integer cutoff value, which the Solver can use to speed up the solution process on new runs, by eliminating branches whose objective must be worse than the "cutoff" value. Just set the appropriate property:
|
|||||