Change the nonlinear constraint function c to return c-is a positive number.
Cambie la función de restricción no lineal c para devolver c-es un número positivo.
A nonlinear constraint function has the syntax
Una función de restricción no lineal tiene la sintaxis
You must have the nonlinear constraint function return both c(x) and ceq(x), even if you have only one type of nonlinear constraint.
Debe tener la función de restricción no lineal devolver tanto c(x) como ceq(x), incluso si solo tiene un tipo de restricción no lineal.
If either the objective function or a nonlinear constraint function returns a complex value, NaN, Inf, or an error at an iterate xj, the algorithm rejects xj.
Si la función objetiva o una restricción no lineal devuelve un valor complejo, Nan, INF o un error en una iteración xj, el algoritmo rechaza xj.
Passing Extra Parameters explains how to parametrize the nonlinear constraint function nonlcon, if necessary.
Pasar parámetros adicionales explica cómo parametrize la función de restricción no lineal nonlcon, si es necesario.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.