Struct SolverOptions#

Defined in Program listing for file numerics/src/tools/SolverOptions.h

struct SolverOptions

Structure used to send options (name, parameters and so on) to a specific solver (mainly from Kernel to Numerics).

Creation, update and destruction:

Details in users’guide.

Public Members

int solverId

id number of the solver.

bool isSet

true(1) if the structure is ready to be used by a numerics driver.

int iSize

iSize size of vector iparam

int *iparam

list of solver parameters (integer type); Check solvers doc for details.

int dSize

size of vector dparam

double *dparam

list of solver parameters (double type); Check solvers doc for details.

bool filterOn

if true (1), check solution validity after the driver call.

Default = 1. For example if filterOn = 1 for a LCP, lcp_compute_error() will be called at the end of the process).

size_t dWorkSize

size of double type internal work array.

double *dWork

internal (double type) work array.

size_t iWorkSize

size of integer type internal work array.

int *iWork

internal (integer type) work array.

size_t numberOfInternalSolvers

the number of internal or local ‘sub-solvers’ used by the solver (size of internalSolvers) .

struct SolverOptions **internalSolvers

list of internal solver options

Callback *callback

pointer to user-defined callback

void *solverParameters

additional parameters specific to the solver (GAMS and NewtonMethod only)

void *solverData

additional data specific to the solver