matlab多目标优化特征选择

时间:2016-08-15 16:39:37

标签: mathematical-optimization

Here are my 4 functions for minimization
Objective functions = 4
variables = 13
non-equality constraints = 2
equality constraints = 4
Objective Description:

    function [f]=task1(x)
    f(1)=15*x(1)+20*x(2)+30*x(3)+25*x(4)+40*x(5)+35*x(6)+35*x(7)+50*x(8)+20*x(9)+23*x(10)+30*x(11)+45*x(12)+50*x(13);
    f(2)=5*x(1)+3*x(2)+4*x(3)+5*x(4)+4*x(5)+6*x(6)+5*x(7)+8*x(8)+5*x(9)+3*x(10)+2*x(11)+7*x(12)+6*x(13);
    f(3)=6*x(1)+4*x(2)+2*x(3)+2*x(4)+3*x(5)+4*x(6)+4*x(7)+4*x(8)+2*x(9)+3*x(10)+3*x(11)+4*x(12)+3*x(13);
    f(4)=2048*x(1)+1024*x(2)+256*x(3)+512*x(4)+256*x(5)+512*x(6)+1024*x(7)+1024*x(8)+512*x(9)+512*x(10)+256*x(11)+1024*x(12)+512*x(13);

%Equality constraints
c(1,1)=x(1)+x(2)-1;        %from x(1) and x(2), only one should be selected
c(1,2)=x(3)+x(4)+x(7)-1;   %from x(3), x(4) and x(7), only one should be selected
c(1,3)=x(5)+x(6)+x(7)-1;   %from x(5), x(6) and x(7), only one should be selected
c(1,4)=x(12)+x(13)-1;      %from x(12) and x(13), only one should be selected. 
%non-equality constraint
c(1,5)=x(8)-1;              %x(8) is optional non-equality constraint
c(1,6)=-x(9)-x(10)-x(11)+1; %from x(9), x(10) and x(11) at least one should be selected.

请检查我给出的约束,这些可以吗?

请您指导下限和上限值。 我为所有变量尝试了0下限,为所有变量尝试了1个上限值。 0表示未选中,1表示已选择,但我没有得到理想的结果。

0 个答案:

没有答案