91 OSnl2OS(ASL *cw, ASL *rw, ASL *asl);
102 ASL*
getASL(std::string name);
109 bool readNl(std::string stub);
125 bool setASL(ASL *asl, ASL *rw, ASL *cw);
OS_AMPL_SUFFIX_DIRECTION direction
void setJobID(std::string jobID)
set the job ID
std::string jobID
jobID is a string containing a jobID that may have been supplied on the command line (it may be empty...
ASL * getASL(std::string name)
return a pointer to an ASL object
bool createOSObjects()
create an OSInstance and OSOption representation from the AMPL nl content (Some of the information in...
bool readNl(std::string stub)
read the nl file
OSnLNode * walkTree(expr *e)
parse an nl tree structure holding a nonlinear expression
~OSnl2OS()
the OSnl2OS class destructor
bool setASL(ASL *asl, ASL *rw, ASL *cw)
set the pointers to the three ASL objects
OSnl2OS()
the OSnl2OS class constructor
The in-memory representation of an OSiL instance.
void setVar(OSInstance *osinstance, int lower, int upper, char vartype)
store a number of variables into an OSInstance object
Used to read an OSoL string.
This file defines the OSInstance class along with its supporting classes.
std::vector< double > operand
std::string osol
osol is a string containing the content of the OS option file (it may be empty if no option file was ...
This file defines the OSnLNode class along with its derived classes.
std::vector< std::string > op_type
OSoLReader * osolreader
we may need to parse an OSoL file if there is suffix information indicated in the AMPL nl content ...
void setOsol(std::string osol)
set the osol string
OS_AMPL_SUFFIX_SCOPE scope
OSInstance * osinstance
osinstance is a pointer to the OSInstance object that gets created from the information in the nl fil...
OSOption * osoption
osoption is a pointer to the OSOption object that gets created from the information in the nl file (a...
The OSnLNode Class for nonlinear expressions.
void setIBVar(OSInstance *osinstance, int lower, int upper)
special version of the previous method because AMPL makes no distinction between integer and binary v...