14#ifndef MINOTAURAMPLHESSIAN_H
15#define MINOTAURAMPLHESSIAN_H
21namespace MINOTAUR_AMPL {
23typedef AMPLInterface * AMPLInterfacePtr;
68 *con_mult,
double *values,
int *error);
Declare class HessianOfLag to get information about hessian of Lagrangean of a Problem.
AMPLHessian class has methods to call Hessian of Lagrangian evaluation routines of AMPL....
Definition: AMPLHessian.h:30
void negateObj()
Ugly hack for maximization problems.
Definition: AMPLHessian.cpp:108
Minotaur::UInt getNumNz() const
Return the number of non-zeros in the Hessian of Lagrangian.
Definition: AMPLHessian.cpp:102
~AMPLHessian()
Destroy.
Definition: AMPLHessian.cpp:45
AMPLHessian(AMPLInterfacePtr iface)
Construct AMPLHessian using an AMPL(ASL) interface.
Definition: AMPLHessian.cpp:25
void fillRowColValues(const double *x, double obj_mult, const double *con_mult, double *values, int *error)
Evaluate Hessian of Lagrangian at a given point x, row-wise.
Definition: AMPLHessian.cpp:76
void fillRowColIndices(Minotaur::UInt *iRow, Minotaur::UInt *jCol)
Fill in row and column indices of nonzeros in Hessian of Lagrangian.
Definition: AMPLHessian.cpp:50
Interface to read ampl models using AMPL Solver Library. AMPLInterface class provides methods to read...
Definition: AMPLInterface.h:74
Definition: HessianOfLag.h:47
unsigned int UInt
Unsigned integer.
Definition: Types.h:30