• Remix
  • Share
  • New Entry

on 6 Oct 2021
  • 0
  • 23
  • 0
  • 0
  • 280
x1=1,x2=3,x3=2
x1 = 1
x2 = 3
x3 = 2
OBJECTIVE_FUNCTION = 2.633*x1+2.99*x2+ 3.134*x3
OBJECTIVE_FUNCTION = 17.8710
TOC1=2.633*x1;
TOC2=2.99*x2;
TOC3=3.134*x3;
TOC = [TOC1 , TOC2 , TOC3 ]
TOC = 1×3
2.6330 8.9700 6.2680
figure(1)
plot(TOC,'linewidth',2)
set(gcf,'color','w')
title('Convergence curve','fontsize',12)
xlabel('Iterations');
ylabel('Objective function');
box on
grid on
Image
Remix Tree