Bonmin 1.8.9
Loading...
Searching...
No Matches
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
15namespace 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
Class for providing an Osi interface to Ipopt with an ampl nl file as input.
Ipopt::SmartPtr< Ipopt::OptionsList > options()
Acces list of Options.
void fillOsiInterface(AmplInterface &toFill, char **&argv, std::string &options, std::string &nl, bool createContinuousSolver=true)
For Bcp.
void initialize(AmplInterface &toFill, char **&argv, std::string &opt_file_content, std::string &nl_file_content, bool createContinuousSolver=true)
initialize bonmin with ampl model using the command line arguments and an existing OsiTMINLPInterface...
void initialize(AmplInterface &toFill, char **&argv)
initialize bonmin with ampl model using the command line arguments and an existing OsiTMINLPInterface...
void initialize(char **&argv, std::string &opt_file_content, std::string &nl_file_content, bool createContinuousSolver)
initialize bonmin with ampl model using the command line arguments reading options and nl file from s...
void initialize(char **&argv)
initialize bonmin with ampl model using the command line arguments.
(C) Copyright International Business Machines Corporation 2007