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))
def _setup_nlp(self): self._nlp = ci.mx_function("nlp", \ ci.nlpIn(x = self._optimization_variables), \ ci.nlpOut(f = self._objective, g = self._constraints))