C# Class Cureos.Numerics.Nlp.S225

C# implementation of Schittkowski problem no. 225 Adapted from http://www.orfe.princeton.edu/~rvdb/ampl/nlmodels/s/s225.mod Optimal solution x* = { 1; 1 }, f* = 2
Inheritance: IpoptProblem
Mostra file Open project: cureos/csipopt Class Usage Examples

Public Methods

Method Description
S225 ( )
eval_f ( int n, double x, bool new_x, double &obj_value ) : bool
eval_g ( int n, double x, bool new_x, int m, double g ) : bool
eval_grad_f ( int n, double x, bool new_x, double grad_f ) : bool
eval_jac_g ( int n, double x, bool new_x, int m, int nele_jac, int iRow, int jCol, double values ) : bool

Method Details

S225() public method

public S225 ( )

eval_f() public method

public eval_f ( int n, double x, bool new_x, double &obj_value ) : bool
n int
x double
new_x bool
obj_value double
return bool

eval_g() public method

public eval_g ( int n, double x, bool new_x, int m, double g ) : bool
n int
x double
new_x bool
m int
g double
return bool

eval_grad_f() public method

public eval_grad_f ( int n, double x, bool new_x, double grad_f ) : bool
n int
x double
new_x bool
grad_f double
return bool

eval_jac_g() public method

public eval_jac_g ( int n, double x, bool new_x, int m, int nele_jac, int iRow, int jCol, double values ) : bool
n int
x double
new_x bool
m int
nele_jac int
iRow int
jCol int
values double
return bool