Bonmin 1.8.9
Loading...
Searching...
No Matches
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
12namespace Bonmin
13{
14
19 {
20
21 public:
22
25
28
31
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
53 bool new_bounds_;
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
Implementation of BonChooseVariable for curvature-based braching.
CurvBranchingSolver(OsiTMINLPInterface *solver)
Constructor from solver (so we can set up arrays etc)
virtual void markHotStart(OsiTMINLPInterface *tminlp_interface)
Called to initialize solver before a bunch of strong branching solves.
virtual ~CurvBranchingSolver()
Destructor.
virtual void unmarkHotStart(OsiTMINLPInterface *tminlp_interface)
Called after all strong branching solves in a node.
virtual TNLPSolver::ReturnStatus solveFromHotStart(OsiTMINLPInterface *tminlp_interface)
Called to solve the current TMINLP (with changed bound information)
CurvBranchingSolver(const CurvBranchingSolver &)
Copy constructor.
CurvBranchingSolver & operator=(const CurvBranchingSolver &rhs)
Assignment operator.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
This class is the base class for a solver that can be used in BonOsiSolverInterface to perform the st...
ReturnStatus
Standard return statuses for a solver.
(C) Copyright International Business Machines Corporation 2007
ipnumber Number