OptimumSolverSimplex Class Reference
The class that implements the simplex algorithm for linear programming problems. More...
#include <OptimumSolverSimplex.hpp>
Inheritance diagram for OptimumSolverSimplex:
Collaboration diagram for OptimumSolverSimplex:
Public Member Functions | |
OptimumSolverSimplex () | |
Construct a default OptimumSolverSimplex instance. | |
OptimumSolverSimplex (const OptimumSolverSimplex &other) | |
Construct a copy of an OptimumSolverSimplex instance. | |
virtual | ~OptimumSolverSimplex () |
Destroy this OptimumSolverSimplex instance. | |
auto | operator= (OptimumSolverSimplex other) -> OptimumSolverSimplex & |
Assign a copy of an OptimumSolverSimplex instance. | |
auto | feasible (const OptimumProblem &problem, OptimumState &state, const OptimumOptions &options) -> OptimumResult |
Find a feasible point for the linear optimisation problem. More... | |
auto | simplex (const OptimumProblem &problem, OptimumState &state, const OptimumOptions &options) -> OptimumResult |
Solve the linear optimisation problem with starting from a feasible point. More... | |
virtual auto | solve (const OptimumProblem &problem, OptimumState &state) -> OptimumResult |
Solve the linear optimisation problem by finding a feasible point and then applying a simplex algorithm. More... | |
virtual auto | solve (const OptimumProblem &problem, OptimumState &state, const OptimumOptions &options) -> OptimumResult |
Solve the linear optimisation problem by finding a feasible point and then applying a simplex algorithm. More... | |
virtual auto | dxdp (VectorConstRef dgdp, VectorConstRef dbdp) -> Vector |
Return the sensitivity dx/dp of the solution x with respect to a vector of parameters p . More... | |
virtual auto | clone () const -> OptimumSolverBase * |
Return a clone of this instance. | |
Public Member Functions inherited from OptimumSolverBase | |
virtual | ~OptimumSolverBase ()=0 |
Pure virtual destructor. | |
Detailed Description
The class that implements the simplex algorithm for linear programming problems.
Member Function Documentation
◆ feasible()
auto feasible | ( | const OptimumProblem & | problem, |
OptimumState & | state, | ||
const OptimumOptions & | options | ||
) | -> OptimumResult |
Find a feasible point for the linear optimisation problem.
- Parameters
-
problem The definition of the linear optimisation problem state[in,out] The initial guess and the final state of the optimisation approximation options The options for the optimisation calculation
◆ simplex()
auto simplex | ( | const OptimumProblem & | problem, |
OptimumState & | state, | ||
const OptimumOptions & | options | ||
) | -> OptimumResult |
Solve the linear optimisation problem with starting from a feasible point.
- Parameters
-
problem The definition of the linear optimisation problem state[in,out] The initial guess and the final state of the optimisation approximation options The options for the optimisation calculation
◆ solve() [1/2]
|
virtual |
Solve the linear optimisation problem by finding a feasible point and then applying a simplex algorithm.
- Parameters
-
problem The definition of the linear optimisation problem state[in,out] The initial guess and the final state of the optimisation approximation
Implements OptimumSolverBase.
◆ solve() [2/2]
|
virtual |
Solve the linear optimisation problem by finding a feasible point and then applying a simplex algorithm.
- Parameters
-
problem The definition of the linear optimisation problem state[in,out] The initial guess and the final state of the optimisation approximation options The options for the optimisation calculation
Implements OptimumSolverBase.
◆ dxdp()
|
virtual |
Return the sensitivity dx/dp
of the solution x
with respect to a vector of parameters p
.
- Parameters
-
dgdp The derivatives dg/dp
of the objective gradientgrad(f)
with respect to the parametersp
dbdp The derivatives db/dp
of the vectorb
with respect to the parametersp
Implements OptimumSolverBase.
The documentation for this class was generated from the following files:
- Reaktoro/Optimization/OptimumSolverSimplex.hpp
- Reaktoro/Optimization/OptimumSolverSimplex.cpp