Linear optimiser using the HiGHS mathematical library.
More...
#include <HighsOptimiser.h>
|
|
std::map< std::string, std::string > | options_ |
| | Map of options to set in the HiGHS solver.
|
|
| using | SolutionCallback = std::function<void(bool, double, const Vector&, double, double, double)> |
| | Callback function called when the optimisation is done.
|
|
std::string | problem_log_file_ |
| | File to log the problem to, if provided.
|
|
std::string | iis_log_file_ |
| | File to log the IIS (Irreducible Inconsistent Subsystem) to, if found.
|
Linear optimiser using the HiGHS mathematical library.
◆ HighsOptimiser()
| lucid::HighsOptimiser::HighsOptimiser |
( |
std::map< std::string, std::string > | options, |
|
|
std::string | problem_log_file = "", |
|
|
std::string | iis_log_file = "" ) |
|
explicit |
Construct a new Highs Optimiser object.
- Parameters
-
| options | map of options to set in the HiGHS solver |
| problem_log_file | file to log the problem to. If empty, no logging is done |
| iis_log_file | file to log the irreducible infeasible set (IIS) to, if found. If empty, no logging is done |
◆ Optimiser()
Construct a new Optimiser object.
If problem_log_file is provided, the optimiser will log the LP problem to the specified file. If iis_log_file is provided, the optimiser will log the Irreducible Inconsistent Subsystem (IIS) to the specified file if the problem is found to be infeasible.
- Parameters
-
| problem_log_file | file to log the problem to |
| iis_log_file | file to log the IIS to |
◆ solve_fourier_barrier_synthesis_impl()
Implementation of the Fourier barrier synthesis solver.
It interfaces with the specific LP solver backend. See FourierBarrierCertificate::synthesize for more details.
- Parameters
-
| params | problem definition |
| cb | callback function called when the optimisation is done |
- Returns
- true if the optimisation was successful
-
false if no solution was found (i.e., the problem is infeasible
Implements lucid::Optimiser.
◆ to_string()
| std::string lucid::HighsOptimiser::to_string |
( |
| ) |
const |
|
nodiscardoverridevirtual |
Obtain the string representation of this object.
- Returns
- string representation of this object
Reimplemented from lucid::Optimiser.
The documentation for this class was generated from the following files: