12 #ifndef CouenneInterface_H
13 #define CouenneInterface_H
18 #ifdef COUENNEINTERFACE_FROM_ASL
24 #define AmplInterface OsiTMINLPInterface
49 virtual std::string
appName() {
return "couenne";}
51 #ifdef COUENNEINTERFACE_FROM_ASL
66 (OsiSolverInterface &si,
CouenneCutGenerator & couenneCg,
bool getObj = 1,
bool solveNlp = 1);
Cut Generator for linear convexifications.
bool haveNlpSolution()
return value of have_nlp_solution_
virtual CouenneInterface * clone(bool CopyData)
virutal copy constructor.
const Ipopt::SmartPtr< Ipopt::OptionsList > options() const
Retrieve OsiTMINLPApplication option list.
CouenneInterface()
Default constructor.
ASL * readASLfg(char **argv)
Class for providing an Osi interface to Ipopt with an ampl nl file as input.
virtual void setAppDefaultOptions(Ipopt::SmartPtr< Ipopt::OptionsList > Options)
To set some application specific defaults.
virtual void readAmplNlFile(char **&argv, Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions, Ipopt::SmartPtr< Ipopt::OptionsList > options, Ipopt::SmartPtr< Ipopt::Journalist > journalist, std::string *nl_file_content=NULL)
virtual ~CouenneInterface()
Destructor.
virtual void extractLinearRelaxation(OsiSolverInterface &si, CouenneCutGenerator &couenneCg, bool getObj=1, bool solveNlp=1)
Extract a linear relaxation of the MINLP.
bool have_nlp_solution_
true if we got an integer feasible solution from initial solve
virtual std::string appName()