2.5.8.2.2 ocmath_Comm


Name

ocmath_Comm

Description

Declaration

typedef struct
{
	long    flag;
    Boolean first;
    Boolean last;
    long    nf;
    Boolean it_prt;
    Boolean it_maj_prt;
    Boolean sol_sqp_prt;
    Boolean sol_prt;
    Boolean rootnode_sol_prt;
    Boolean node_prt;
    Boolean rootnode_prt;
    Boolean g_prt;
    Boolean new_lm;

    long    needf;

    Pointer p;
    long    *iuser;
    double  *user;

    Pointer ocmath_p;

    double  *ocmath_print_w;
    long    *ocmath_print_iw;

    long    nrealloc;
	double  *ocmath_w;
	long    *ocmath_iw;
}ocmath_Comm;

Members

flag
user error flag set to 0 before each call to lsqfun, test for != 0 on exit
first
TRUE on first call to objective (and constraint) function, FALSE after
last
TRUE on last call to objective (and constraint) function, FALSE before
nf
output: number of function evaluations or number of times residuals have been calculated. Calls to objective function
it_prt
ocmath_Iteration print
it_maj_prt
ocmath major iteration print (e04ucc)
sol_sqp_prt
Solution print (e04ucc)
sol_prt
Solution print or, for e04ucc, major itn. sol. print
rootnode_sol_prt
Solution at rootnode of Branch & Bound
node_prt
Summary of node solution in B&B
rootnode_prt
Summary of root node solution in B&B
g_prt
Derivative check info. from e04ucy available
new_lm
New Lagrange multipliers calculated
needf
Added at Mark 6 to pass to the obj function in e04unc
p
generic pointer to user workspace
iuser
user workspace
user
user workspace
ocmath_p
ocmath generic workspace
ocmath_print_w
ocmath_print_iw
nrealloc
ocmath_w
ocmath workspace
ocmath_iw
ocmath integer workspace

Remark

Examples

Header to Include

origin.h

See Also

Reference