From 4b64cf486f5c999fd8167758cae27839f3b50848 Mon Sep 17 00:00:00 2001 From: Harpreet Date: Sat, 3 Sep 2016 00:34:27 +0530 Subject: Structure updated and intqpipopt files added --- .../include/coin/BonStrongBranchingSolver.hpp | 69 ---------------------- 1 file changed, 69 deletions(-) delete mode 100644 build/Bonmin/include/coin/BonStrongBranchingSolver.hpp (limited to 'build/Bonmin/include/coin/BonStrongBranchingSolver.hpp') diff --git a/build/Bonmin/include/coin/BonStrongBranchingSolver.hpp b/build/Bonmin/include/coin/BonStrongBranchingSolver.hpp deleted file mode 100644 index 087d2e7..0000000 --- a/build/Bonmin/include/coin/BonStrongBranchingSolver.hpp +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (C) 2007, International Business Machines -// Corporation and others. All Rights Reserved. -// -// Author: Andreas Waechter 2007-08-20 IBM -// -#ifndef BonStrongBranchingSolver_H -#define BonStrongBranchingSolver_H - -#include "BonOsiTMINLPInterface.hpp" -#include "BonRegisteredOptions.hpp" -namespace Bonmin { - -/** This class is the base class for a solver that can be used in - * BonOsiSolverInterface to perform the strong branching solves. -*/ - -class StrongBranchingSolver : public Ipopt::ReferencedObject { - -public: - - /// Constructor from solver - StrongBranchingSolver (OsiTMINLPInterface * solver); - - /// Assignment operator - StrongBranchingSolver & operator= (const StrongBranchingSolver& rhs); - /// Copy constructor - StrongBranchingSolver(const StrongBranchingSolver& rhs); - - /// Destructor - virtual ~StrongBranchingSolver (); - - /// Called to initialize solver before a bunch of strong branching - /// solves - virtual void markHotStart(OsiTMINLPInterface* tminlp_interface) = 0; - - /// Called to solve the current TMINLP (with changed bound information) - virtual TNLPSolver::ReturnStatus solveFromHotStart(OsiTMINLPInterface* tminlp_interface) = 0; - - /// Called after all strong branching solves in a node - virtual void unmarkHotStart(OsiTMINLPInterface* tminlp_interface) = 0; - -protected: - - inline Ipopt::SmartPtr& Jnlst() - { - return jnlst_; - } - inline Ipopt::SmartPtr& Options() - { - return options_; - } - inline Ipopt::SmartPtr& RegOptions() - { - return reg_options_; - } -private: - /** Default Constructor, forbiden for some reason.*/ - StrongBranchingSolver (); - - Ipopt::SmartPtr jnlst_; - Ipopt::SmartPtr options_; - Ipopt::SmartPtr reg_options_; - - int bb_log_level_; - -}; - -} -#endif -- cgit