How to impose multiple inequality constraints on fmincon?
Mostrar comentarios más antiguos
How should I provide two inequality constraints as:
A1*x < b1
A2*x < b2
where the syntax is like this:
x = fmincon(fun,x0,A,b,Aeq,beq,lb,ub,nonlcon,options)
My mathematical constraint is this, actually:
-B < x(i+1)-x(i) < B
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Choose a Solver en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!