Ejemplo n.º 1
0
    def _setup_nlp(self):

        self._nlp = ci.mx_function("nlp", \
            ci.nlpIn(x = self._optimization_variables), \
            ci.nlpOut(f = self._objective, \
                g = self._equality_constraints_parameters_applied))
Ejemplo n.º 2
0
    def _setup_nlp(self):

        self._nlp = ci.mx_function("nlp", \
            ci.nlpIn(x = self._optimization_variables), \
            ci.nlpOut(f = self._objective, g = self._constraints))