Variable

class pyoptsparse.pyOpt_variable.Variable(name, varType, value, lower, upper, scale, offset, scalar=False, choices=[])[source]

This class holds the representation of a single pyOptSparse variable

See also

pyoptsparse.pyOpt_optimization.Optimization.addVarGroup

for the full documentation