linopy.solvers.Xpress

linopy.solvers.Xpress#

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

Solver subclass for the xpress solver.

For more information on solver options, see https://www.fico.com/fico-xpress-optimization/docs/latest/solver/GUID-ACD7E60C-7852-36B7-A78A-CED0EA291CDD.html

\*\*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 Xpress solver.

solve_problem_from_model(model[, ...])

Abstract method to solve a linear problem from a model.

Attributes

solver_name