File numerics/src/AVI/avi_caoferris.h

File numerics/src/AVI/avi_caoferris.h#

Go to the source code of this file

Subroutines for the solver by Cao and Ferris.

Functions

int avi_caoferris_stage3(LinearComplementarityProblem *problem, double *u, double *s, double *d, unsigned size_x, unsigned *A, SolverOptions *options)#

stage 3 of the Cao-Ferris algorithm

Parameters:
  • problem – struct formalizing the AVI

  • u – vector for the basic variables

  • s – vector the non-basic variables

  • d – the covering vector for Lemke

  • size_x – dimension of the solution variable

  • A – set of active constraints

  • options – struct used to define the solver(s) and its (their) parameters

Returns:

0 if success, 1 if failure