Bonmin 1.8.9
Loading...
Searching...
No Matches
BonLpBranchingSolver.hpp
Go to the documentation of this file.
1// Copyright (C) 2006, 2007 International Business Machines
2// Corporation and others. All Rights Reserved.
3#ifndef BonLpBranchingSolver_H
4#define BonLpBranchingSolver_H
5
7#include "BonEcpCuts.hpp"
8
9namespace Bonmin
10{
11
16 {
17
18 public:
19
24
27
30
33 virtual void markHotStart(OsiTMINLPInterface* tminlp_interface);
34
37
39 virtual void unmarkHotStart(OsiTMINLPInterface* tminlp_interface);
40
42 {
43 maxCuttingPlaneIterations_ = num;
44 }
45
47
48 private:
51
54
56 CoinWarmStart* warm_;
57
59 EcpCuts* ecp_;
60
62 int maxCuttingPlaneIterations_;
63
65 double abs_ecp_tol_;
66
68 double rel_ecp_tol_;
69
70
71 enum WarmStartMethod {
72 Basis=0 ,
73 Clone
74 };
76 WarmStartMethod warm_start_mode_;
77 };
78
79}
80#endif
A class to have all elements necessary to setup a branch-and-bound.
Implementation of BonChooseVariable for curvature-based braching.
virtual void markHotStart(OsiTMINLPInterface *tminlp_interface)
Called to initialize solver before a bunch of strong branching solves.
LpBranchingSolver(const LpBranchingSolver &)
Copy 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.
LpBranchingSolver & operator=(const LpBranchingSolver &rhs)
Assignment operator.
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
virtual ~LpBranchingSolver()
Destructor.
LpBranchingSolver(BabSetupBase *b)
Constructor from setup.
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