#include <AmplFunctional.hh>
Inheritance diagram for AmplAdaptor:
Public Methods | |
IotrVector & | x () |
converts to RowMajor format | |
AmplAdaptor (const char sname[], const char bsname[]) | |
Constructor. | |
virtual IotrConfiguration * | initialize (char **argv, int &ierr, keyword *kw, int nkw) |
Reads stub files and creates dense row major Jacobian. | |
virtual void | writeSolution (char *msg, IotrVector *primal, IotrVector *dual) |
Calls write_sol declared in asl.h. | |
void | getBounds (IotrVector &rxlow, IotrVector &rxupp, IotrVector &rclow, IotrVector &rcupp) |
Sets parameters equal to upper and lower bounds of problem. | |
Protected Attributes | |
ASL * | asl |
An ampl structure which holds various problem specific date. | |
Option_Info * | oi |
An ampl structure which for now holds name of solver. |
|
Constructor. Initializes asl and oi. |
|
Calls write_sol declared in asl.h. Prints out primal and dual arrays and msg. |