Home > matpower7.1 > lib > @opf_model > linear_constraints.m

linear_constraints

PURPOSE ^

LINEAR_CONSTRAINTS Builds and returns the full set of linear constraints.

SYNOPSIS ^

function [A, l, u] = linear_constraints(om)

DESCRIPTION ^

LINEAR_CONSTRAINTS  Builds and returns the full set of linear constraints.

   -----  DEPRECATED - Please use PARAMS_LIN_CONSTRAINT instead  -----

   [A, L, U] = OM.LINEAR_CONSTRAINTS()
   Builds the full set of linear constraints based on those added by
   ADD_LIN_CONSTRAINT.

       L <= A * x <= U

   Example:
       [A, l, u] = om.linear_constraints();

   See also OPT_MODEL, ADD_LIN_CONSTRAINT, PARAMS_LIN_CONSTRAINT.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [A, l, u] = linear_constraints(om)
0002 %LINEAR_CONSTRAINTS  Builds and returns the full set of linear constraints.
0003 %
0004 %   -----  DEPRECATED - Please use PARAMS_LIN_CONSTRAINT instead  -----
0005 %
0006 %   [A, L, U] = OM.LINEAR_CONSTRAINTS()
0007 %   Builds the full set of linear constraints based on those added by
0008 %   ADD_LIN_CONSTRAINT.
0009 %
0010 %       L <= A * x <= U
0011 %
0012 %   Example:
0013 %       [A, l, u] = om.linear_constraints();
0014 %
0015 %   See also OPT_MODEL, ADD_LIN_CONSTRAINT, PARAMS_LIN_CONSTRAINT.
0016 
0017 %   MATPOWER
0018 %   Copyright (c) 2008-2016, Power Systems Engineering Research Center (PSERC)
0019 %   by Ray Zimmerman, PSERC Cornell
0020 %
0021 %   This file is part of MATPOWER.
0022 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0023 %   See https://matpower.org for more info.
0024 
0025 [A, l, u] = om.params_lin_constraint();

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005