``interfaceObjCons`` ======================================================= .. py:module:: optimeed.optimize.objAndCons.interfaceObjCons Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: optimeed.optimize.objAndCons.interfaceObjCons.InterfaceObjCons .. py:class:: InterfaceObjCons Interface class for objectives and constraints. The objective is to MINIMIZE and the constraint has to respect VALUE <= 0 .. py:method:: compute(theDevice) :abstractmethod: 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() .. py:method:: __str__() Return str(self).