Bonmin 1.8.9
Loading...
Searching...
No Matches
BonStrongBranchingSolver.hpp
Go to the documentation of this file.
1// Copyright (C) 2007, International Business Machines
2// Corporation and others. All Rights Reserved.
3//
4// Author: Andreas Waechter 2007-08-20 IBM
5//
6#ifndef BonStrongBranchingSolver_H
7#define BonStrongBranchingSolver_H
8
11namespace Bonmin {
12
18
19public:
20
23
28
31
34 virtual void markHotStart(OsiTMINLPInterface* tminlp_interface) = 0;
35
38
40 virtual void unmarkHotStart(OsiTMINLPInterface* tminlp_interface) = 0;
41
42protected:
43
45 {
46 return jnlst_;
47 }
49 {
50 return options_;
51 }
53 {
54 return reg_options_;
55 }
56private:
59
63
64 int bb_log_level_;
65
66};
67
68}
69#endif
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...
Ipopt::SmartPtr< Ipopt::OptionsList > & Options()
virtual void unmarkHotStart(OsiTMINLPInterface *tminlp_interface)=0
Called after all strong branching solves in a node.
virtual void markHotStart(OsiTMINLPInterface *tminlp_interface)=0
Called to initialize solver before a bunch of strong branching solves.
StrongBranchingSolver & operator=(const StrongBranchingSolver &rhs)
Assignment operator.
virtual TNLPSolver::ReturnStatus solveFromHotStart(OsiTMINLPInterface *tminlp_interface)=0
Called to solve the current TMINLP (with changed bound information)
StrongBranchingSolver(OsiTMINLPInterface *solver)
Constructor from solver.
Ipopt::SmartPtr< Ipopt::Journalist > & Jnlst()
StrongBranchingSolver(const StrongBranchingSolver &rhs)
Copy constructor.
virtual ~StrongBranchingSolver()
Destructor.
Ipopt::SmartPtr< RegisteredOptions > & RegOptions()
ReturnStatus
Standard return statuses for a solver.
(C) Copyright International Business Machines Corporation 2007