objAndCons

Package Contents

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

Bases: optimeed.optimize.objAndCons.interfaceObjCons.InterfaceObjCons

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

compute(self, theDevice)[source]
get_name(self)[source]
class InterfaceObjCons[source]

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

abstract compute(self, 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(self)[source]
__str__(self)[source]