fsqp solver external function that computes the objective for CUTEr.
f=fsqp_obj(j,x)
An integer, must be set equal to 1.
A vector, the current value of the unknown
A scalar, the current value of the objective function
This function computes the objective at the point
x
for the current CUTEr problem according to
the fsqp
requirements.
x_is_new
fsqp
fsqp_neweval,
x_is_new
Depending on the value returned by x_is_new()
,
this function uses or computes the following global variables
fsqp_cost
, fsqp_grcost
,
fsqp_constr
and
fsqp_grconstr
.