Cite Us
pyOpt

Previous topic

Variable

Next topic

Gradient

Constraint

class pyOpt_constraint.Constraint(name, type='i', *args, **kwargs)

Optimization Constraint Class

Constraint Class Initialization

Arguments:

  • name -> STR: Variable Name

Keyword arguments:

  • type -> STR: Variable Type (‘i’-inequality, ‘e’-equality), Default = ‘i’
  • lower -> INT: Variable Lower Value
  • upper -> INT: Variable Upper Value
  • choices -> DICT: Variable Choices

Documentation last updated: Feb. 03, 2011 - Peter W. Jansen

ListAttributes()

Print Structured Attributes List

Documentation last updated: March. 10, 2008 - Ruben E. Perez