Bonmin
1.7
|
Implementation of BonChooseVariable for curvature-based braching. More...
#include <BonCurvBranchingSolver.hpp>
Public Member Functions | |
CurvBranchingSolver (OsiTMINLPInterface *solver) | |
Constructor from solver (so we can set up arrays etc) | |
CurvBranchingSolver (const CurvBranchingSolver &) | |
Copy constructor. | |
CurvBranchingSolver & | operator= (const CurvBranchingSolver &rhs) |
Assignment operator. | |
virtual | ~CurvBranchingSolver () |
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. | |
Private Member Functions | |
CurvBranchingSolver () | |
Default Constructor. | |
Private Attributes | |
SmartPtr< CurvatureEstimator > | cur_estimator_ |
Stuff for the curvature estimator | |
bool | new_bounds_ |
bool | new_x_ |
bool | new_mults_ |
double * | orig_d_ |
double * | projected_d_ |
Number * | x_l_orig_ |
Number * | x_u_orig_ |
Number * | g_l_orig_ |
Number * | g_u_orig_ |
Information about the problem | |
int | numCols_ |
int | numRows_ |
const double * | solution_ |
const double * | duals_ |
double | obj_value_ |
Implementation of BonChooseVariable for curvature-based braching.
Definition at line 18 of file BonCurvBranchingSolver.hpp.
Bonmin::CurvBranchingSolver::CurvBranchingSolver | ( | OsiTMINLPInterface * | solver | ) |
Constructor from solver (so we can set up arrays etc)
Bonmin::CurvBranchingSolver::CurvBranchingSolver | ( | const CurvBranchingSolver & | ) |
Copy constructor.
virtual Bonmin::CurvBranchingSolver::~CurvBranchingSolver | ( | ) | [virtual] |
Destructor.
Bonmin::CurvBranchingSolver::CurvBranchingSolver | ( | ) | [private] |
Default Constructor.
CurvBranchingSolver& Bonmin::CurvBranchingSolver::operator= | ( | const CurvBranchingSolver & | rhs | ) |
Assignment operator.
virtual void Bonmin::CurvBranchingSolver::markHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called to initialize solver before a bunch of strong branching solves.
Implements Bonmin::StrongBranchingSolver.
virtual TNLPSolver::ReturnStatus Bonmin::CurvBranchingSolver::solveFromHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called to solve the current TMINLP (with changed bound information)
Implements Bonmin::StrongBranchingSolver.
virtual void Bonmin::CurvBranchingSolver::unmarkHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called after all strong branching solves in a node.
Implements Bonmin::StrongBranchingSolver.
SmartPtr<CurvatureEstimator> Bonmin::CurvBranchingSolver::cur_estimator_ [private] |
Definition at line 49 of file BonCurvBranchingSolver.hpp.
bool Bonmin::CurvBranchingSolver::new_bounds_ [private] |
Definition at line 53 of file BonCurvBranchingSolver.hpp.
bool Bonmin::CurvBranchingSolver::new_x_ [private] |
Definition at line 54 of file BonCurvBranchingSolver.hpp.
bool Bonmin::CurvBranchingSolver::new_mults_ [private] |
Definition at line 55 of file BonCurvBranchingSolver.hpp.
double* Bonmin::CurvBranchingSolver::orig_d_ [private] |
Definition at line 56 of file BonCurvBranchingSolver.hpp.
double* Bonmin::CurvBranchingSolver::projected_d_ [private] |
Definition at line 57 of file BonCurvBranchingSolver.hpp.
Number* Bonmin::CurvBranchingSolver::x_l_orig_ [private] |
Definition at line 58 of file BonCurvBranchingSolver.hpp.
Number* Bonmin::CurvBranchingSolver::x_u_orig_ [private] |
Definition at line 59 of file BonCurvBranchingSolver.hpp.
Number* Bonmin::CurvBranchingSolver::g_l_orig_ [private] |
Definition at line 60 of file BonCurvBranchingSolver.hpp.
Number* Bonmin::CurvBranchingSolver::g_u_orig_ [private] |
Definition at line 61 of file BonCurvBranchingSolver.hpp.
int Bonmin::CurvBranchingSolver::numCols_ [private] |
Definition at line 66 of file BonCurvBranchingSolver.hpp.
int Bonmin::CurvBranchingSolver::numRows_ [private] |
Definition at line 67 of file BonCurvBranchingSolver.hpp.
const double* Bonmin::CurvBranchingSolver::solution_ [private] |
Definition at line 68 of file BonCurvBranchingSolver.hpp.
const double* Bonmin::CurvBranchingSolver::duals_ [private] |
Definition at line 69 of file BonCurvBranchingSolver.hpp.
double Bonmin::CurvBranchingSolver::obj_value_ [private] |
Definition at line 70 of file BonCurvBranchingSolver.hpp.