NMinimize::nosat NMaximize::nosat
Examples
Basic Examples (3)
A warning is generated because the result does not satisfy the indicated equality constraint:
NMinimize[{x^2, x^2 == 5 && -2 ≤ x ≤ 2}, {x}]A warning is generated because the result does not satisfy the indicated inequality constraint:
NMinimize[{x^2, x^2 ≥ 3 && -2 ≤ x^2 ≤ 2}, {x}]
A warning message is generated because the constraints are inconsistent:
NMinimize[{x^2, x^2 == 5 && -2 ≤ x ≤ 2}, {x}]