__init__(pyomo_model, ex_input_output_model, ...)
|
Create an instance of this class to pass as a problem to CyIpopt. |
constraints(primals)
|
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(primals)
|
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, ...)
|
Callback that can be used to examine or report intermediate results. |
jacobian(primals)
|
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. |
load_x_into_pyomo(primals)
|
Use this method to load a numpy array of values into the corresponding Pyomo variables (e.g., the solution from CyIpopt) |
objective(primals)
|
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 |