to_dict#

ConstraintCriterion.to_dict() dict#

Convert an instance of the ConstraintCriterion class to a dictionary.

Returns:
dict

Input dictionary for the optiSLang server.