Class for the AMPL-Interface. More...
#include <ampl.h>
Public Member Functions | |
ampl (char *stubfile_) | |
Constructor for the name of the .nl file. | |
Pointer< MinlpProblem > | get_problem () |
Read's the AMPL file and constructs a MINLP-problem. | |
void | write_sol_file (const UserVector< double > &sol_point, char *message="") |
Write the AMPL solution-file stub.sol. | |
Private Attributes | |
Pointer< char > | stubfile |
The name of the AMPL .nl-file to read. |
Class for the AMPL-Interface.
Definition at line 28 of file ampl.h.
ampl::ampl | ( | char * | stubfile_ | ) | [inline] |
Pointer<MinlpProblem> ampl::get_problem | ( | ) |
Read's the AMPL file and constructs a MINLP-problem.
void ampl::write_sol_file | ( | const UserVector< double > & | sol_point, | |
char * | message = "" | |||
) | [inline] |
Pointer<char> ampl::stubfile [private] |