|
Minotaur 0.4.1
Docs for developers
|
Public Member Functions | |
| Linearizations (EnvPtr env, RelaxationPtr rel, ProblemPtr minlp, std::vector< ConstraintPtr > nlCons, VariablePtr objVar, ConstSolutionPtr sol) | |
| Default Constructor. | |
| ~Linearizations () | |
| Destroy. | |
| bool | rootLinearizationsUniS () |
| Root linearization schemes. | |
| void | rootLinearizationsGen () |
| double * | getCenter () |
| void | findCenter () |
| Find approximate center of the feasible region. | |
| LinStats * | getStats () |
| void | rootLinScheme3 (EnginePtr lpe_, SeparationStatus *status) |
| void | setNlpEngine (EnginePtr nlpe) |
| void | writeStats (std::ostream &out) const |
| Show statistics. | |
| Linearizations::Linearizations | ( | EnvPtr | env, |
| RelaxationPtr | rel, | ||
| ProblemPtr | minlp, | ||
| std::vector< ConstraintPtr > | nlCons, | ||
| VariablePtr | objVar, | ||
| ConstSolutionPtr | sol | ||
| ) |
Default Constructor.
| [in] | env | Environment pointer. |
| [in] | minlp | The minlp for which cuts are generated (Not the relaxation.) |
| [in] | nlpe | The engine to solve nonlinear continuous problem. |
| void Linearizations::rootLinearizationsGen | ( | ) |
General scheme at root
| void Linearizations::rootLinScheme3 | ( | EnginePtr | lpe_, |
| SeparationStatus * | status | ||
| ) |
Add linearizatios by performing line search between center of the feasible region and the root LP solution - root linearization scheme 3