#include <linrelax.h>
Inheritance diagram for LinearRelaxSolverGeneral:


Public Member Functions | |
| LinearRelaxSolverGeneral (LinearRelax &linrelax_) | |
| void | init () |
| Initializes the model for the core linear relaxation. | |
| void | reset () |
| Resets the solver, so we use only the core linear relaxation. | |
| void | construct (Pointer< MinlpNode > node=NULL) |
| Builds the linear relaxation for a specific node or uses global cuts only. | |
| void | add_cut (const CutPool::CutInfo &cutinfo) |
| Updates the linear relaxation for a specific node. | |
| void | set_objective (Pointer< SepQcFunc > obj) |
| void | update_levelcut (double newlevel) |
| bool | feasible () |
| Checks the linear relaxation only for feasiblity instead of solving it. | |
| int | solve (Pointer< MinlpNode > node=NULL) |
| void | remove_cuts () |
| According to the information, set in the remove-member of the cutinfos, remove cuts. | |
| int | generate_cuts (list< Pointer< SimpleCut > > &cuts) |
Private Attributes | |
| Pointer< MinlpProblem > | prob |
| (R) or (R[U]). | |
| int | cutstart |
| Start of cuts in prob. | |
| int | levelcut_pos |
| The position of the level cut in prob. | |
Definition at line 324 of file linrelax.h.
| LinearRelaxSolverGeneral::LinearRelaxSolverGeneral | ( | LinearRelax & | linrelax_ | ) | [inline] |
| void LinearRelaxSolverGeneral::init | ( | ) | [virtual] |
Initializes the model for the core linear relaxation.
Implements LinearRelaxSolver.
Referenced by LinearRelaxSolverGeneral().
| void LinearRelaxSolverGeneral::reset | ( | ) | [virtual] |
Builds the linear relaxation for a specific node or uses global cuts only.
Implements LinearRelaxSolver.
| void LinearRelaxSolverGeneral::add_cut | ( | const CutPool::CutInfo & | cutinfo | ) | [virtual] |
Implements LinearRelaxSolver.
| void LinearRelaxSolverGeneral::update_levelcut | ( | double | newlevel | ) | [virtual] |
Implements LinearRelaxSolver.
| bool LinearRelaxSolverGeneral::feasible | ( | ) | [virtual] |
Checks the linear relaxation only for feasiblity instead of solving it.
Implements LinearRelaxSolver.
Implements LinearRelaxSolver.
| void LinearRelaxSolverGeneral::remove_cuts | ( | ) | [virtual] |
According to the information, set in the remove-member of the cutinfos, remove cuts.
Implements LinearRelaxSolver.
Pointer<MinlpProblem> LinearRelaxSolverGeneral::prob [private] |
int LinearRelaxSolverGeneral::cutstart [private] |
int LinearRelaxSolverGeneral::levelcut_pos [private] |
1.4.7