<< fsqp_grcntr CUTEr fsqp_neweval >>

CUTEr >> CUTEr > fsqp_grobj

fsqp_grobj

fsqp solver external function that computes the gradient of objective for CUTEr.

Calling Sequence

g=fsqp_grobj(j,x)

Parameters

j

An integer, must be set equal to 1.

x

A vector, the current value of the unknown

f

A vector, the current value of the gradient of the objective function

Description

This function computes the gradient of the objective at the point x for the current CUTEr problem according to the fsqp requirements.

See Also

Authors

Used Functions

fsqp_neweval, fsqp

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.


Report an issue
<< fsqp_grcntr CUTEr fsqp_neweval >>