objAndCons

Package Contents

Classes

class FastObjCons(constraintEquation, name=None)[source]

Bases: optimeed.optimize.objAndCons.interfaceObjCons.InterfaceObjCons

Convenience class to create an objective or a constraint very fast.

compute(theDevice)[source]

Get the value of the objective or the constraint. The objective is to MINIMIZE and the constraint has to respect VALUE <= 0

Parameters:theDevice – Input device that has already been evaluated
Returns:float.
get_name()[source]
class InterfaceObjCons[source]

Interface class for objectives and constraints. The objective is to MINIMIZE and the constraint has to respect VALUE <= 0

get_name()[source]
__str__()[source]

Return str(self).