load_lp¶
- load_lp(
- filename: str | PathLike,
- penalty_formulation: Literal['Default', 'IntegerVariable', 'RealVariable', 'Relaxation', 'LinearRelaxation', 'QuadraticRelaxation'] | PenaltyFormulation = PenaltyFormulation.Default,
Load an LP file and construct a model.
The LP format follows a supported subset of the Gurobi LP format. Return the loaded model and its associated variable generator.
- パラメータ:
- 戻り値:
Loaded model and its associated variable generator.
- 戻り値の型: