12 #ifndef CouenneInterface_H
13 #define CouenneInterface_H
18 #ifdef COUENNEINTERFACE_FROM_ASL
19 #include "BonAmplInterface.hpp"
22 struct ASL *readASLfg (
char **);
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_
CouenneInterface()
Default constructor.
bool have_nlp_solution_
true if we got an integer feasible solution from initial solve
virtual std::string appName()
virtual void setAppDefaultOptions(Ipopt::SmartPtr< Ipopt::OptionsList > Options)
To set some application specific defaults.
virtual CouenneInterface * clone(bool CopyData)
virutal copy constructor.
virtual void extractLinearRelaxation(OsiSolverInterface &si, CouenneCutGenerator &couenneCg, bool getObj=1, bool solveNlp=1)
Extract a linear relaxation of the MINLP.
virtual ~CouenneInterface()
Destructor.