Minotaur 0.4.1
Docs for developers
Functions
MsBnb.cpp File Reference

The main function for solving instances in ampl format (.nl) by using multistart Branch-and-estimate heuristic. More...

#include <iomanip>
#include <iostream>
#include <sys/time.h>
#include "MinotaurConfig.h"
#include "BndProcessor.h"
#include "BranchAndBound.h"
#include "EngineFactory.h"
#include "Environment.h"
#include "IntVarHandler.h"
#include "LexicoBrancher.h"
#include "LinearHandler.h"
#include "LinFeasPump.h"
#include "Logger.h"
#include "LPEngine.h"
#include "MaxFreqBrancher.h"
#include "MaxVioBrancher.h"
#include "MINLPDiving.h"
#include "MsProcessor.h"
#include "NLPEngine.h"
#include "NlPresHandler.h"
#include "NodeIncRelaxer.h"
#include "Objective.h"
#include "Option.h"
#include "PCBProcessor.h"
#include "Presolver.h"
#include "ProblemSize.h"
#include "QPEngine.h"
#include "Problem.h"
#include "RandomBrancher.h"
#include "Relaxation.h"
#include "ReliabilityBrancher.h"
#include "Solution.h"
#include "SOS1Handler.h"
#include "SOS2Handler.h"
#include "Timer.h"
#include "TreeManager.h"
#include "AMPLHessian.h"
#include "AMPLInterface.h"
#include "AMPLJacobian.h"
Include dependency graph for MsBnb.cpp:

Functions

BrancherPtr createBrancher (EnvPtr env, ProblemPtr p, HandlerVector handlers, EnginePtr e)
 
BranchAndBoundcreateBab (EnvPtr env, ProblemPtr p, EnginePtr e, HandlerVector &handlers)
 
EnginePtr getEngine (EnvPtr env, ProblemPtr p, int &err)
 
void loadProblem (EnvPtr env, MINOTAUR_AMPL::AMPLInterface *iface, ProblemPtr &oinst, double *obj_sense)
 
void overrideOptions (EnvPtr env)
 
PresolverPtr presolve (EnvPtr env, ProblemPtr p, size_t ndefs, HandlerVector &handlers)
 
void setInitialOptions (EnvPtr env)
 
void showHelp ()
 
int showInfo (EnvPtr env)
 
void writeSol (EnvPtr env, VarVector *orig_v, PresolverPtr pres, SolutionPtr sol, SolveStatus status, MINOTAUR_AMPL::AMPLInterface *iface)
 
void writeBnbStatus (EnvPtr env, BranchAndBound *bab, double obj_sense)
 
double getWallTime ()
 
int main (int argc, char **argv)
 

Detailed Description

The main function for solving instances in ampl format (.nl) by using multistart Branch-and-estimate heuristic.

Author
Prashant Palkar, IIT Bombay

Minotaur source code documented by Doxygen 1.9.4 on Fri Apr 25 2025