__init__(nlp[, intermediate_callback, ...])
|
This class provides a CyIpoptProblemInterface for use with the CyIpoptSolver class that can take in an NLP as long as it provides vectors as numpy ndarrays and matrices as scipy.sparse.coo_matrix objects. |
constraints(x)
|
Return the residuals of the constraints evaluated at x as a numpy ndarray |
g_lb()
|
Return the lower bounds on the constraints as a numpy ndarray |
g_ub()
|
Return the upper bounds on the constraints as a numpy ndarray |
gradient(x)
|
Return the gradient of the objective function evaluated at x as a numpy ndarray |
hessian(x, y, obj_factor)
|
Return the values for the hessian evaluated at x as a numpy ndarray of nonzero values corresponding to the rows and columns specified in the hessianstructure method. |
hessianstructure()
|
Return the structure of the hessian in coordinate format. |
intermediate(alg_mod, iter_count, obj_value, ...)
|
Calls user's intermediate callback |
jacobian(x)
|
Return the values for the jacobian evaluated at x as a numpy ndarray of nonzero values corresponding to the rows and columns specified in the jacobianstructure |
jacobianstructure()
|
Return the structure of the jacobian in coordinate format. |
objective(x)
|
Return the value of the objective function evaluated at x |
scaling_factors()
|
Return the values for scaling factors as a tuple (objective_scaling, x_scaling, g_scaling). |
solve(x[, lagrange, zl, zu])
|
Solve a CyIpopt Problem |
x_init()
|
Return the initial values for x as a numpy ndarray |
x_lb()
|
Return the lower bounds on x as a numpy ndarray |
x_ub()
|
Return the upper bounds on x as a numpy ndarray |