SURROGATEOPT, multiple constraints
Ältere Kommentare anzeigen
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 :)
Antworten (0)
Kategorien
Mehr zu Surrogate Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!