picos.solvers.solver_glpk¶
Implementation of GLPKSolver
.
Classes
- class picos.solvers.solver_glpk.GLPKSolver(problem)[source]¶
Bases:
Solver
Interface to the GLPK solver via swiglpk.
- __init__(problem)[source]¶
Initialize a GLPK solver interface.
- Parameters
problem (Problem) – The problem to be solved.
- classmethod default_penalty()[source]¶
Implement
default_penalty
.
- reset_problem()[source]¶
Implement
reset_problem
.
- classmethod test_availability()[source]¶
Implement
test_availability
.
- SUPPORTED = <Specification: Optimize AffineExpression subject to DummyConstraint, AffineConstraint using any variables and any options.>¶
- UNUSED_VAR = UnusedVar(dim=1)¶