error in minimize function

18 visualizaciones (últimos 30 días)
Mohammad
Mohammad el 16 de Jun. de 2015
Comentada: Matt J el 17 de Jun. de 2015
Hi I want to calculate minimum of this function but when I using nonlinear constrain, i have this error
x=fmincon(fx,[1,1],[],[],[],[],[1 0.99],[1 1.1],@confun)
No feasible solution found.
fmincon stopped because the size of the current step is less than the default value of the step size tolerance but constraints are not satisfied to within the default value of the constraint tolerance.
<stopping criteria details>
x =
1.000000000000000 1.099999986802130
  5 comentarios
Mohammad
Mohammad el 17 de Jun. de 2015
for simplification the problem i said this actually G and r is not constant
Matt J
Matt J el 17 de Jun. de 2015
But what happens when you do it?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by