Minotaur 0.4.1
Docs for developers
Classes | Namespaces | Typedefs | Enumerations
AMPLInterface.h File Reference

Declare the AMPLInterface class fo reading problems from AMPL. More...

#include "Types.h"
Include dependency graph for AMPLInterface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MINOTAUR_AMPL::AMPLInterface
 Interface to read ampl models using AMPL Solver Library. AMPLInterface class provides methods to read and evaluate an instance from AMPL generated .nl files. It also provides methods to evaluate functions, gradients, jacobians and hessians. More...
 

Namespaces

namespace  Minotaur
 

Typedefs

typedef double efunc(expr *)
 
typedef AMPLNonlinearFunction * MINOTAUR_AMPL::AMPLNlfPtr
 

Enumerations

enum  MINOTAUR_AMPL::ReaderType {
  FReader , MINOTAUR_AMPL::FGReader , MINOTAUR_AMPL::FGHReader , MINOTAUR_AMPL::PFGReader ,
  MINOTAUR_AMPL::PFGHReader
}
 What kind of ASL reader is used to read the .nl file. More...
 

Detailed Description

Declare the AMPLInterface class fo reading problems from AMPL.

Author
Ashutosh Mahajan, Argonne National Laboratory

Enumeration Type Documentation

◆ ReaderType

What kind of ASL reader is used to read the .nl file.

Enumerator
FGReader 

No derivatives, linear objective and constraints only.

FGHReader 

first derivatives. This reader will be used to read the expression tree.

PFGReader 

First derivatives and Hessian-vector products. Need a loop for computing full hessian.

PFGHReader 

First derivatives and partially separable structure.

First and second derivatives and partially separable structure. Can compute full hessian. This reader is used when NLPs are solved by calling ASL's evaluation routines.


Minotaur source code documented by Doxygen 1.9.4 on Fri Apr 25 2025