Bonmin  1.8.8
BonAmplSetup.hpp
Go to the documentation of this file.
1 // (C) Copyright International Business Machines Corporation 2007
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Authors :
6 // Pierre Bonami, International Business Machines Corporation
7 //
8 // Date : 04/15/2007
9 
10 #ifndef BonAmplSetup_H
11 #define BonAmplSetup_H
12 #include "BonBonminSetup.hpp"
13 #include "BonAmplInterface.hpp"
14 
15 namespace Bonmin
16 {
18  {
19  public:
21  void initialize(char **& argv);
23  void initialize(AmplInterface &toFill, char **& argv);
25  void initialize(char **& argv, std::string& opt_file_content, std::string& nl_file_content, bool createContinuousSolver /*= false*/);
27  void initialize(AmplInterface &toFill, char **& argv, std::string& opt_file_content, std::string& nl_file_content, bool createContinuousSolver = true);
29  void fillOsiInterface(AmplInterface &toFill, char **& argv, std::string & options, std::string & nl, bool createContinuousSolver = true);
30  };
31 }
32 #endif
void initialize(char **&argv)
initialize bonmin with ampl model using the command line arguments.
void fillOsiInterface(AmplInterface &toFill, char **&argv, std::string &options, std::string &nl, bool createContinuousSolver=true)
For Bcp.
Class for providing an Osi interface to Ipopt with an ampl nl file as input.
Ipopt::SmartPtr< Ipopt::OptionsList > options()
Acces list of Options.