- class pyoptsparse.pyOpt_constraint.Constraint(name, nCon, linear, wrt, jac, lower, upper, scale)¶
This class holds the representation of a pyOptSparse constraint group
for the full documentation
- finalize(variables, dvOffset, index)¶
After the design variables have been finalized and the order is known we can check the constraint for consistency.
The pyOpt variable list after they have been finalized.
Design variable offsets from pyOpt_optimization
The starting index of this constraint in natural order
This function should not need to be called by the user