flixopt.solvers
This module contains the solvers of the flixopt framework, making them available to the end user in a compact way.
Classes
GurobiSolver
dataclass
Bases: _Solver
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mip_gap
|
float
|
Solver's mip gap setting. The MIP gap describes the accepted (MILP) objective, and the lower bound, which is the theoretically optimal solution (LP) |
required |
time_limit_seconds
|
int
|
Solver's time limit in seconds. |
required |
extra_options
|
str
|
Filename for saving the solver log. |
dict()
|
HighsSolver
dataclass
Bases: _Solver
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mip_gap
|
float
|
Solver's mip gap setting. The MIP gap describes the accepted (MILP) objective, and the lower bound, which is the theoretically optimal solution (LP) |
required |
time_limit_seconds
|
int
|
Solver's time limit in seconds. |
required |
threads
|
int
|
Number of threads to use. |
required |
extra_options
|
str
|
Filename for saving the solver log. |
dict()
|