SURROGATEOPT, multiple constraints
Afficher commentaires plus anciens
Hello,
We want to use 2 inequality constraints in order to impose an equality constraint with the surrogateopt function.
We now have:
f.Fval = gamma_iteration;
f.Ineq1 = sum(weights_iteration)-1;
f.Ineq2 = -sum(weights_iteration)+1;
But if we look at the objective function values the constraints are not satisfied. Does anyone know how to do this?
Help would be much appreciated :)
Réponses (0)
Catégories
En savoir plus sur Surrogate Optimization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!