load_lp¶ load_lp( filename: str | PathLike, penalty_formulation: Literal['Default', 'IntegerVariable', 'RealVariable', 'Relaxation', 'LinearRelaxation', 'QuadraticRelaxation'] | PenaltyFormulation = PenaltyFormulation.Default, ) → tuple[Model, VariableGenerator]¶ load_lp Parameters: filename (str | PathLike) penalty_formulation (Literal['Default', 'IntegerVariable', 'RealVariable', 'Relaxation', 'LinearRelaxation', 'QuadraticRelaxation'] | amplify.PenaltyFormulation) – Defaults to PenaltyFormulation.Default. Return type: tuple[Model, VariableGenerator]