This Code is a modified versión of free available Tamilselvi Selvaraj NSGA II Matlab Code capable to solve mixed-integer non-linear programming with constraints. Several benchmarks problems are solved using aforementioned algorithm including problems with integer variables.
Open "NSGA_II_Abril_Test.m" .
Select the "p" benchmark problem that you want (p=2 ---> ZDT1 problem).
Andrés F. Abril (2021). Real Coded (Integer Handling) NSGA II (https://www.mathworks.com/matlabcentral/fileexchange/71609-real-coded-integer-handling-nsga-ii), MATLAB Central File Exchange. Retrieved .
any examples of source code multiobjective optimization with mix integer variable?...I have 6 variables, 3 objective functions....thanks very much...
Very nice script for integer handling.
Can we handle both integer and discrete variables ?
X1 = [1.5, 2.1, 3.6, 4.2]; % decision variable x1 consist of 4 discrete variables
X2 = 10:5:45; % decision variable x2 consist of 8 integer variables from 10 to 45 with the step size of 5
Thank you for your contributions
indices = sum( bsxfun( @ge, p(i,:), p ), 2 ) == dim; (in paretoFront.m)
Why @ge, not @le ?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!