Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Constraining fminconvariables over both two ranges or a values and a range, is it possible?

1 vue (au cours des 30 derniers jours)
Crazy Cool
Crazy Cool le 26 Juil 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
Can I constrain the variables for the function fmincon for a nonlinear function, with a variable number of variables, so that the variables can either be within a range (say 1-5 OR a value say 0). On the other hand could I exclude an area for the variables, say the cannot be 1-2 but could be 0-1 and 2-infinity?
Thanks for your help.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by