Bonmin  1.8.8
BonCurvBranchingSolver.hpp
Go to the documentation of this file.
1 // Copyright (C) 2006, 2007 International Business Machines
2 // Corporation and others. All Rights Reserved.
3 //
4 //
5 #error "BonCurvBranchingSolver not supported anymore"
6 #ifndef BonCurvBranchingSolver_H
7 #define BonCurvBranchingSolver_H
8 
11 
12 namespace Bonmin
13 {
14 
19  {
20 
21  public:
22 
25 
28 
31 
33  virtual ~CurvBranchingSolver ();
34 
37  virtual void markHotStart(OsiTMINLPInterface* tminlp_interface);
38 
41 
43  virtual void unmarkHotStart(OsiTMINLPInterface* tminlp_interface);
44 
45  private:
48 
49  SmartPtr<CurvatureEstimator> cur_estimator_;
50 
54  bool new_x_;
55  bool new_mults_;
56  double* orig_d_;
57  double* projected_d_;
58  Number* x_l_orig_;
59  Number* x_u_orig_;
60  Number* g_l_orig_;
61  Number* g_u_orig_;
63 
66  int numCols_;
67  int numRows_;
68  const double* solution_;
69  const double* duals_;
70  double obj_value_;
72 
73  };
74 
75 }
76 
77 #endif
CurvBranchingSolver & operator=(const CurvBranchingSolver &rhs)
Assignment operator.
This class is the base class for a solver that can be used in BonOsiSolverInterface to perform the st...
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
CurvBranchingSolver()
Default Constructor.
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.
virtual ~CurvBranchingSolver()
Destructor.
ReturnStatus
Standard return statuses for a solver.
SmartPtr< CurvatureEstimator > cur_estimator_
virtual void markHotStart(OsiTMINLPInterface *tminlp_interface)
Called to initialize solver before a bunch of strong branching solves.
Implementation of BonChooseVariable for curvature-based braching.