Inequality constraints in gamultiobj
Ältere Kommentare anzeigen
Hello,
I have got a problem with inequality constraints in file 'constraintfunction': when I introduced A and b as constraints, optimization does not work anymore (file 'mainfunction_11') and my Pareto front plot is not showing anything. The principle is that decision variables x and y at each time step j and EV i should be less than trans_percent_w_ch and trans_percent_w_dch, respectively. I thought that with an introduction of inequality constraint I could satisfy this requirement, however, it fails to work completely. Could you help me to figure out how to fix it so that my decision variables are constrained?
Thanks in advance!
2 Kommentare
Alan Weiss
am 13 Dez. 2020
Bearbeitet: Alan Weiss
am 13 Dez. 2020
Your constraintfunction code is over 600 lines long. I wonder if there is a small subset of your code or something like it that shows what you are trying to do and exactly how it fails. I do not plan to read through that much code, and doubt that others are willing to, either.
Alan Weiss
MATLAB mathematical toolbox documentation
olga_vm
am 14 Dez. 2020
Antworten (0)
Kategorien
Mehr zu Solver Outputs and Iterative Display 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!