13#ifndef MINOTAURAMPLJACOBIAN_H
14#define MINOTAURAMPLJACOBIAN_H
20namespace MINOTAUR_AMPL {
23typedef AMPLInterface * AMPLInterfacePtr;
80 double *values,
int *error);
Get information about Jacobian of a given Problem.
Interface to read ampl models using AMPL Solver Library. AMPLInterface class provides methods to read...
Definition AMPLInterface.h:74
Jacobian class has methods to call Jacobian evaluation routines of AMPL. This class is not meant to c...
Definition AMPLJacobian.h:30
~AMPLJacobian()
Destroy.
Definition AMPLJacobian.cpp:32
Minotaur::UInt getNumNz()
Return the number of non-zeros in the Jacobian.
Definition AMPLJacobian.cpp:40
void fillRowColIndices(Minotaur::UInt *irow, Minotaur::UInt *jcol)
Fill the indices of non-zeros in Jacobian, row-wise (or constraint-wise).
Definition AMPLJacobian.cpp:81
void fillColRowIndices(Minotaur::UInt *jcol, Minotaur::UInt *irow)
Fill in column and row indices of nonzeros in Jacobian.
Definition AMPLJacobian.cpp:46
void fillColRowValues(const double *x, double *values, int *error)
Evaluate Jacobian at a given point x, column-wise. Fill the values of Jacobian at a given point x int...
Definition AMPLJacobian.cpp:69
void fillRowColValues(const double *x, double *values, int *error)
Evaluate Jacobian at a given point x, row-wise.
Definition AMPLJacobian.cpp:102
unsigned int UInt
Unsigned integer.
Definition Types.h:30