linopy.solvers.GLPK

linopy.solvers.GLPK#

class linopy.solvers.GLPK(**solver_options)#

Solver subclass for the GLPK solver.

\*\*solver_options

options for the given solver

__init__(**solver_options)#

Methods

__init__(**solver_options)

safe_get_solution(status, func)

Get solution from function call, if status is unknown still try to run it.

solve_problem([model, problem_fn, ...])

Solve a linear problem either from a model or a problem file.

solve_problem_from_file(problem_fn[, ...])

Solve a linear problem from a problem file using the glpk solver.

solve_problem_from_model(model[, ...])

Abstract method to solve a linear problem from a model.

Attributes

solver_name