Minotaur 0.4.1
Docs for developers
Public Member Functions | List of all members
Minotaur::Bnb Class Reference

#include <Bnb.h>

Inheritance diagram for Minotaur::Bnb:
Inheritance graph
[legend]
Collaboration diagram for Minotaur::Bnb:
Collaboration graph
[legend]

Public Member Functions

 Bnb (EnvPtr env)
 Default constructor.
 
 ~Bnb ()
 Destroy.
 
void doSetup ()
 
void showHelp () const
 show help messages
 
int showInfo ()
 Display information.
 
virtual int solve (ProblemPtr p)
 Solve the problem. More...
 
virtual std::string getAbout ()
 
virtual SolveStatus getStatus ()
 get status of the last solve. More...
 
virtual DoubleVector getSolution ()
 get solution of the last solve.
 
double getUb ()
 Return the upper bound for the optimal value.
 
double getLb ()
 Return the lower bound for the optimal value.
 
- Public Member Functions inherited from Minotaur::Solver
 Solver ()
 Default constructor.
 
virtual ~Solver ()
 Destroy.
 
virtual FileType getFileType (std::string fname)
 Helper function to determin file type (mps, nl etc)
 
virtual ProblemPtr readProblem (std::string fname, std::string dname, std::string sname, int &err)
 
virtual bool timeCheck ()
 
virtual int solve (ProblemPtr p)=0
 Solve the problem. More...
 
virtual SolveStatus getStatus ()=0
 get status of the last solve More...
 
void setIface (MINOTAUR_AMPL::AMPLInterface *iface)
 

Additional Inherited Members

- Protected Member Functions inherited from Minotaur::Solver
virtual int writeSol_ (EnvPtr env, VarVector *orig_v, PresolverPtr pres, SolutionPtr sol, SolveStatus status, MINOTAUR_AMPL::AMPLInterface *iface)
 
- Protected Attributes inherited from Minotaur::Solver
EnvPtr env_
 
MINOTAUR_AMPL::AMPLInterfaceiface_
 
bool ownIface_
 

Detailed Description

The Bnb class sets up methods for solving a convex MINLP instance using the NLP based Branch-and-Bound

Member Function Documentation

◆ getStatus()

SolveStatus Bnb::getStatus ( )
virtual

get status of the last solve.

Implements Minotaur::Solver.

◆ solve()

int Bnb::solve ( ProblemPtr  p)
virtual

Solve the problem.

Implements Minotaur::Solver.


The documentation for this class was generated from the following files:

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025