7 #include "CoinPragma.hpp"
12 #ifdef COIN_HAS_FILTERSQP
41 printf(
"QPBRANCH Timings for %i sbs\n", times_.numsolve);
42 printf(
"QPBRANCH %i pivots\n", times_.pivots);
43 printf(
"QPBRANCH Creating : %g\n", times_.create);
44 printf(
"QPBRANCH Solving : %g\n", times_.solve);
45 printf(
"QPBRANCH Warming : %g\n", times_.warm_start);
46 printf(
"QPBRANCH Resolving : %g\n", times_.resolve);
57 #ifdef COIN_HAS_FILTERSQP
71 qp_solver->markHotStart();
90 if(qp_solver) times_ += qp_solver->times();
virtual Ipopt::SmartPtr< TNLPSolver > clone()=0
virtual copy constructor
This class is the base class for a solver that can be used in BonOsiSolverInterface to perform the st...
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.
const TMINLP2TNLP * problem() const
get pointer to the TMINLP2TNLP adapter
This class chooses a variable to branch on.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
Ipopt::SmartPtr< BranchingTQP > branching_tqp_
virtual ~QpBranchingSolver()
Destructor.
Ipopt::SmartPtr< Ipopt::Journalist > & Jnlst()
QpBranchingSolver()
Default Constructor.
const Bonmin::TNLPSolver * solver() const
bool IsNull(const OSSmartPtr< U > &smart_ptr)
U * GetRawPtr(const OSSmartPtr< U > &smart_ptr)
Ipopt::SmartPtr< TNLPSolver > tqp_solver_
ReturnStatus
Standard return statuses for a solver.
const char * prefix() const
Default Constructor.
StrongBranchingSolver & operator=(const StrongBranchingSolver &rhs)
Assignment operator.
QpBranchingSolver & operator=(const QpBranchingSolver &rhs)
Assignment operator.
This is an adapter class that converts a TMINLP2TNLP object into a TNLP, which is now just a QP...
virtual void markHotStart(OsiTMINLPInterface *tminlp_interface)
Called to initialize solver before a bunch of strong branching solves.
This is an adapter class that converts a TMINLP to a TNLP to be solved by Ipopt.
Ipopt::SmartPtr< Ipopt::OptionsList > & Options()
Ipopt::SmartPtr< RegisteredOptions > & RegOptions()