``fastObjCons`` ================================================== .. py:module:: optimeed.optimize.objAndCons.fastObjCons Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: optimeed.optimize.objAndCons.fastObjCons.FastObjCons .. py:class:: FastObjCons(constraintEquation, name=None) Bases: :py:obj:`optimeed.optimize.objAndCons.interfaceObjCons.InterfaceObjCons` Convenience class to create an objective or a constraint very fast. .. py:method:: compute(theDevice) Get the value of the objective or the constraint. The objective is to MINIMIZE and the constraint has to respect VALUE <= 0 :param theDevice: Input device that has already been evaluated :return: float. .. py:method:: get_name()