add_constraints | ADD_CONSTRAINTS Adds a set of constraints to the model. |
add_costs | ADD_COSTS Adds a set of user costs to the model. |
add_vars | ADD_VARS Adds a set of variables to the model. |
build_cost_params | BUILD_COST_PARAMS Builds and saves the full generalized cost parameters. |
compute_cost | COMPUTE_COST Computes a user-defined cost. |
display | DISPLAY Displays the object. |
get | GET Returns the value of a field. |
getN | GETN Returns the number of variables, constraints or cost rows. |
get_cost_params | GET_COST_PARAMS Returns the cost parameter struct for user-defined costs. |
get_idx | GET_IDX Returns the idx struct for vars, lin/nln constraints, costs. |
get_mpc | GET_MPC Returns the MATPOWER case struct. |
getv | GETV Returns initial value, lower bound and upper bound for opt variables. |
linear_constraints | LINEAR_CONSTRAINTS Builds and returns the full set of linear constraints. |
opf_model | OPF_MODEL Constructor for OPF model class. |
userdata | USERDATA Used to save or retrieve values of user data. |