Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

AmplAdaptor Class Reference
[AmplSupport]

Initializes and maintains a connection to a problem specified in Ampl. More...

#include <AmplFunctional.hh>

Inheritance diagram for AmplAdaptor:

IotrRefCount List of all members.

Public Methods

IotrVectorx ()
 converts to RowMajor format

 AmplAdaptor (const char sname[], const char bsname[])
 Constructor.

virtual IotrConfigurationinitialize (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.


Detailed Description

Initializes and maintains a connection to a problem specified in Ampl.


Constructor & Destructor Documentation

AmplAdaptor::AmplAdaptor const char    sname[],
const char    bsname[]
 

Constructor.

Initializes asl and oi.


Member Function Documentation

virtual void AmplAdaptor::writeSolution char *    msg,
IotrVector   primal,
IotrVector   dual
[virtual]
 

Calls write_sol declared in asl.h.

Prints out primal and dual arrays and msg.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 10:03:42 2003 for iotr by doxygen1.2.18