#include <OSnl2osil.h>
Public Member Functions | |
OSnl2osil (std::string nlfilename) | |
the OSnl2osil class constructor | |
~OSnl2osil () | |
the OSnl2osil class destructor | |
bool | createOSInstance () |
create an OSInstance from the AMPL nl instance representation | |
OSnLNode * | walkTree (expr *e) |
parse an nl tree structure holding a nonlinear expression | |
Public Attributes | |
OSInstance * | osinstance |
osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format | |
Private Attributes | |
ograd * | og |
og is a pointer to the AMPL data structure holding the objective function coefficients | |
ASL * | asl |
asl is a pointer to basic AMPL data structure | |
FILE * | nl |
nl is a pointer to the file with the nl instance | |
char * | stub |
stub is the name of the file with the nl instance |
The OSnl2osil Class.
Definition at line 45 of file OSnl2osil.h.
OSnl2osil::OSnl2osil | ( | std::string | nlfilename | ) |
the OSnl2osil class constructor
OSnl2osil::~OSnl2osil | ( | ) |
the OSnl2osil class destructor
bool OSnl2osil::createOSInstance | ( | ) |
create an OSInstance from the AMPL nl instance representation
OSnLNode* OSnl2osil::walkTree | ( | expr * | e | ) |
osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format
Definition at line 71 of file OSnl2osil.h.
ograd* OSnl2osil::og [private] |
og is a pointer to the AMPL data structure holding the objective function coefficients
Definition at line 77 of file OSnl2osil.h.
ASL* OSnl2osil::asl [private] |
asl is a pointer to basic AMPL data structure
Definition at line 81 of file OSnl2osil.h.
FILE* OSnl2osil::nl [private] |
nl is a pointer to the file with the nl instance
Definition at line 85 of file OSnl2osil.h.
char* OSnl2osil::stub [private] |
stub is the name of the file with the nl instance
Definition at line 89 of file OSnl2osil.h.