- /
-
MATLAB Code
on 6 Oct 2021
- 0
- 23
- 0
- 0
- 280
x1=1,x2=3,x3=2
OBJECTIVE_FUNCTION = 2.633*x1+2.99*x2+ 3.134*x3
TOC1=2.633*x1;
TOC2=2.99*x2;
TOC3=3.134*x3;
TOC = [TOC1 , TOC2 , TOC3 ]
figure(1)
plot(TOC,'linewidth',2)
set(gcf,'color','w')
title('Convergence curve','fontsize',12)
xlabel('Iterations');
ylabel('Objective function');
box on
grid on