File numerics/src/NCP/ncp_newton_FBLSA.h

Go to the source code of this file

Functions

void FB_compute_error_ncp(void *data_opaque, double *z, double *w, double *notused, double tol, double *err)

Compute the error for termination, here ncp_compute_error.

Parameters
  • data_opaque: a NonlinearComplementarityProblem but casted
  • z: non-basic variable
  • w: basic variable
  • notused: not used here
  • tol: the tolerance
  • err: the error on the LCP (not FB)

void FB_compute_F_ncp(void *data_opaque, double *z, double *w)

Compute F(z) = Mz + q.

Parameters

void FB_compute_H_ncp(void *data_opaque, double *z, double *w, double *workV1, double *workV2, NumericsMatrix *H)

Compute an element of JacF_FB, see FacchineiPang p.

808

Parameters
  • data_opaque: a NonlinearComplementarityProblem but casted
  • z: non-basic variable
  • w: basic variable
  • workV1: work vector which contains “z”
  • workV2: work vector
  • H: an element of JacF_FB

void ncp_FB(void *data_opaque, double *z, double *F, double *F_FB)

Compute F_FB : \({F_FB}_i = \sqrt(z_i^2 + F_i^2) - (z_i + F_i)\).

Parameters