12 #ifndef CouenneInterface_H
13 #define CouenneInterface_H
18 #ifdef COUENNEINTERFACE_FROM_ASL
22 struct ASL *readASLfg (
char **);
24 #define AmplInterface OsiTMINLPInterface
49 virtual std::string
appName() {
return "couenne";}
51 #ifdef COUENNEINTERFACE_FROM_ASL
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)
const Ipopt::SmartPtr< Ipopt::OptionsList > options() const
Cut Generator for linear convexifications.
CouenneInterface()
Default constructor.
virtual void setAppDefaultOptions(Ipopt::SmartPtr< Ipopt::OptionsList > Options)
To set some application specific defaults.
virtual CouenneInterface * clone(bool CopyData)
virutal copy constructor.
bool have_nlp_solution_
true if we got an integer feasible solution from initial solve
virtual ~CouenneInterface()
Destructor.
bool haveNlpSolution()
return value of have_nlp_solution_
virtual void extractLinearRelaxation(OsiSolverInterface &si, CouenneCutGenerator &couenneCg, bool getObj=1, bool solveNlp=1)
Extract a linear relaxation of the MINLP.
CouenneInterface(const CouenneInterface &other)
Copy constructor.
virtual std::string appName()
general include file for different compilers