|
|
| PredfinedSolutionLinearProblemMock (bool lp) |
| |
|
void | addVariableValue (double value) |
| |
|
| MockLinearProblem (bool isLP) |
| |
|
bool | isLP () const override |
| |
|
Antares::Optimisation::LinearProblemApi::IMipConstraint * | lookupConstraint (const std::string &) const override |
| |
|
Antares::Optimisation::LinearProblemApi::IMipVariable * | addVariable (double, double, bool, const std::string &) override |
| | Create a continuous or integer variable.
|
| |
|
Antares::Optimisation::LinearProblemApi::IMipConstraint * | addConstraint (double, double, const std::string &) override |
| | Add a bounded constraint to the problem.
|
| |
|
void | setObjectiveCoefficient (Antares::Optimisation::LinearProblemApi::IMipVariable *, double) override |
| | Set the objective coefficient for a given variable.
|
| |
|
Antares::Optimisation::LinearProblemApi::IMipSolution * | solve (bool) override |
| | Solve the problem, returns a IMipSolution.
|
| |
|
double | infinity () const override |
| |
|
Antares::Optimisation::LinearProblemApi::IMipVariable * | addNumVariable (double, double, const std::string &) override |
| | Create a continuous variable.
|
| |
|
Antares::Optimisation::LinearProblemApi::IMipVariable * | addIntVariable (double, double, const std::string &) override |
| | Create a integer variable.
|
| |
|
Antares::Optimisation::LinearProblemApi::IMipVariable * | getVariable (std::size_t t) const override |
| |
|
const std::vector< std::unique_ptr< Antares::Optimisation::LinearProblemApi::IMipVariable > > & | getVariables () const override |
| |
|
Antares::Optimisation::LinearProblemApi::IMipConstraint * | getConstraint (std::size_t) const override |
| |
|
const std::vector< std::unique_ptr< Antares::Optimisation::LinearProblemApi::IMipConstraint > > & | getConstraints () const override |
| |
|
Antares::Optimisation::LinearProblemApi::IMipVariable * | lookupVariable (const std::string &) const override |
| |
|
int | variableCount () const override |
| |
|
int | constraintCount () const override |
| |
|
double | getObjectiveCoefficient (const Antares::Optimisation::LinearProblemApi::IMipVariable *) const override |
| |
|
void | setObjectiveOffset (double) override |
| |
|
double | getObjectiveOffset () const override |
| |
|
void | setMinimization () override |
| | Sets the optimization direction to minimize.
|
| |
|
void | setMaximization () override |
| | Sets the optimization direction to maximize.
|
| |
|
bool | isMinimization () const override |
| |
|
bool | isMaximization () const override |
| |
|
double | objectiveValue () const override |
| |