__init__ ()
|
|
equality_constraint_names ()
|
Provide the list of string names corresponding to any residuals for this external model. |
evaluate_equality_constraints ()
|
Compute the residuals from the model (using the values set in input_values) and return as a numpy array |
evaluate_grad_objective ([out])
|
Compute the gradient of the objective from the values set in input_values |
evaluate_jacobian_equality_constraints ()
|
Compute the derivatives of the residuals with respect to the inputs (using the values set in input_values). |
evaluate_jacobian_outputs ()
|
Compute the derivatives of the outputs with respect to the inputs (using the values set in input_values). |
evaluate_objective ()
|
Compute the objective from the values set in input_values |
evaluate_outputs ()
|
Compute the outputs from the model (using the values set in input_values) and return as a numpy array |
finalize_block_construction (pyomo_block)
|
Implement this callback to provide any additional specifications to the Pyomo block that is created to represent this external grey box model. |
get_equality_constraint_scaling_factors ()
|
This method is called by the solver interface to get desired values for scaling the equality constraints. |
get_output_constraint_scaling_factors ()
|
This method is called by the solver interface to get desired values for scaling the constraints with output variables. |
has_objective ()
|
|
input_names ()
|
Provide the list of string names to corresponding to the inputs of this external model. |
n_equality_constraints ()
|
This method returns the number of equality constraints. |
n_inputs ()
|
This method returns the number of inputs. |
n_outputs ()
|
This method returns the number of outputs. |
output_names ()
|
Provide the list of string names corresponding to the outputs of this external model. |
set_equality_constraint_multipliers (...)
|
This method is called by the solver to set the current values for the multipliers of the equality constraints. |
set_input_values (input_values)
|
This method is called by the solver to set the current values for the input variables. |
set_output_constraint_multipliers (...)
|
This method is called by the solver to set the current values for the multipliers of the output constraints. |