Expand description
Mixed-integer linear programming by branch and bound (SciPy’s optimize.milp, which uses
HiGHS): a LinearProgram in which some variables must take integer values.
See the book entry Levenberg-Marquardt for systems, mixed-integer programming and truncated Newton.
Structs§
- Milp
Options - Options for
milp(SciPy’soptions). - Milp
Result - The result of
milp.
Enums§
- Milp
Status - The outcome of
milp.
Functions§
- milp
- Minimises
cᵀxover aLinearProgram’s constraints withx[i]integer whereintegrality[i](SciPy’smilp). Branch and bound: each node solves the LP relaxation with tightened bounds; a relaxation no better than the best integer point found (the incumbent) is pruned; an integral one becomes the incumbent; otherwise the most fractional variablexⱼ = vsplits the node intoxⱼ ≤ ⌊v⌋andxⱼ ≥ ⌈v⌉. Nodes are explored best bound first, and the search stops when the incumbent is withinmip_rel_gapof the best open bound.