Bonmin
1.7
|
Implementation of BonChooseVariable for curvature-based braching. More...
#include <BonLpBranchingSolver.hpp>
Public Member Functions | |
LpBranchingSolver (BabSetupBase *b) | |
Constructor from setup. | |
LpBranchingSolver (const LpBranchingSolver &) | |
Copy constructor. | |
LpBranchingSolver & | operator= (const LpBranchingSolver &rhs) |
Assignment operator. | |
virtual | ~LpBranchingSolver () |
Destructor. | |
virtual void | markHotStart (OsiTMINLPInterface *tminlp_interface) |
Called to initialize solver before a bunch of strong branching solves. | |
virtual TNLPSolver::ReturnStatus | solveFromHotStart (OsiTMINLPInterface *tminlp_interface) |
Called to solve the current TMINLP (with changed bound information) | |
virtual void | unmarkHotStart (OsiTMINLPInterface *tminlp_interface) |
Called after all strong branching solves in a node. | |
void | setMaxCuttingPlaneIter (int num) |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Private Types | |
enum | WarmStartMethod { Basis = 0, Clone } |
Private Member Functions | |
LpBranchingSolver () | |
Default Constructor. | |
Private Attributes | |
OsiSolverInterface * | lin_ |
Linear solver. | |
CoinWarmStart * | warm_ |
Warm start object for linear solver. | |
EcpCuts * | ecp_ |
Ecp cut generate. | |
int | maxCuttingPlaneIterations_ |
Number of maximal ECP cuts. | |
double | abs_ecp_tol_ |
absolute tolerance for ECP cuts | |
double | rel_ecp_tol_ |
relative tolerance for ECP cuts | |
WarmStartMethod | warm_start_mode_ |
Way problems are warm started. |
Implementation of BonChooseVariable for curvature-based braching.
Definition at line 15 of file BonLpBranchingSolver.hpp.
enum Bonmin::LpBranchingSolver::WarmStartMethod [private] |
Definition at line 71 of file BonLpBranchingSolver.hpp.
Bonmin::LpBranchingSolver::LpBranchingSolver | ( | BabSetupBase * | b | ) |
Constructor from setup.
Bonmin::LpBranchingSolver::LpBranchingSolver | ( | const LpBranchingSolver & | ) |
Copy constructor.
virtual Bonmin::LpBranchingSolver::~LpBranchingSolver | ( | ) | [virtual] |
Destructor.
Bonmin::LpBranchingSolver::LpBranchingSolver | ( | ) | [private] |
Default Constructor.
LpBranchingSolver& Bonmin::LpBranchingSolver::operator= | ( | const LpBranchingSolver & | rhs | ) |
Assignment operator.
virtual void Bonmin::LpBranchingSolver::markHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called to initialize solver before a bunch of strong branching solves.
Implements Bonmin::StrongBranchingSolver.
virtual TNLPSolver::ReturnStatus Bonmin::LpBranchingSolver::solveFromHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called to solve the current TMINLP (with changed bound information)
Implements Bonmin::StrongBranchingSolver.
virtual void Bonmin::LpBranchingSolver::unmarkHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called after all strong branching solves in a node.
Implements Bonmin::StrongBranchingSolver.
void Bonmin::LpBranchingSolver::setMaxCuttingPlaneIter | ( | int | num | ) | [inline] |
Definition at line 41 of file BonLpBranchingSolver.hpp.
References maxCuttingPlaneIterations_.
static void Bonmin::LpBranchingSolver::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
OsiSolverInterface* Bonmin::LpBranchingSolver::lin_ [private] |
Linear solver.
Definition at line 53 of file BonLpBranchingSolver.hpp.
CoinWarmStart* Bonmin::LpBranchingSolver::warm_ [private] |
Warm start object for linear solver.
Definition at line 56 of file BonLpBranchingSolver.hpp.
EcpCuts* Bonmin::LpBranchingSolver::ecp_ [private] |
Ecp cut generate.
Definition at line 59 of file BonLpBranchingSolver.hpp.
int Bonmin::LpBranchingSolver::maxCuttingPlaneIterations_ [private] |
Number of maximal ECP cuts.
Definition at line 62 of file BonLpBranchingSolver.hpp.
Referenced by setMaxCuttingPlaneIter().
double Bonmin::LpBranchingSolver::abs_ecp_tol_ [private] |
absolute tolerance for ECP cuts
Definition at line 65 of file BonLpBranchingSolver.hpp.
double Bonmin::LpBranchingSolver::rel_ecp_tol_ [private] |
relative tolerance for ECP cuts
Definition at line 68 of file BonLpBranchingSolver.hpp.
Way problems are warm started.
Definition at line 76 of file BonLpBranchingSolver.hpp.