- linopy.solvers.run_highs(model, io_api=None, problem_fn=None, solution_fn=None, log_fn=None, warmstart_fn=None, basis_fn=None, keep_files=False, **solver_options)#
Highs solver function. Reads a linear problem file and passes it to the highs solver. If the solution is feasible the function returns the objective, solution and dual constraint variables. Highs must be installed for usage. Find the documentation at https://www.maths.ed.ac.uk/hall/HiGHS/
. The full list of solver options is documented at https://www.maths.ed.ac.uk/hall/HiGHS/HighsOptions.set .
Some exemplary options are:
presolve : “choose” by default - “on”/”off” are alternatives.
solver :”choose” by default - “simplex”/”ipm” are alternatives.
parallel : “choose” by default - “on”/”off” are alternatives.
time_limit : inf by default.
string,) – SolverStatus.ok or SolverStatus.warning
string,) – Contains “optimal”, “infeasible”,