loadProbMulti

PURPOSE ^

% Function for loading available multi-objective problems

SYNOPSIS ^

function [funOpti,funCons,typeCons]=loadProbMulti(funName)

DESCRIPTION ^

% Function for loading available multi-objective problems
 L. LAURENT --  04/05/2018 -- luc.laurent@lecnam.net

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% Function for loading available multi-objective problems
0002 % L. LAURENT --  04/05/2018 -- luc.laurent@lecnam.net
0003 
0004 % sources available here:
0005 % https://bitbucket.org/luclaurent/optigtest/
0006 % https://github.com/luclaurent/optigtest/
0007 
0008 % optiGTest - set of testing functions    A toolbox to easy manipulate functions.
0009 % Copyright (C) 2018  Luc LAURENT <luc.laurent@lecnam.net>
0010 %
0011 % This program is free software: you can redistribute it and/or modify
0012 % it under the terms of the GNU General Public License as published by
0013 % the Free Software Foundation, either version 3 of the License, or
0014 % (at your option) any later version.
0015 %
0016 % This program is distributed in the hope that it will be useful,
0017 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0018 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0019 % GNU General Public License for more details.
0020 %
0021 % You should have received a copy of the GNU General Public License
0022 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
0023 
0024 function [funOpti,funCons,typeCons]=loadProbMulti(funName)
0025 listPb=struct(...
0026     'BinhKorn',{{'ObjKornBinh1','ObjKornBinh2'},{'ConsKornBinh1','ConsKornBinh2'},{'<=','>='}},...
0027     'ChakongHaimes',{{'ObjChakongHaimes1','ObjChakongHaimes2'},{'ConsChakongHaimes1','ConsChakongHaimes2'},{'<=','<='}},...
0028     'FonsecaFleming',{{'ObjFonsecaFleming1','ObjFonsecaFleming2'},{},{}},...
0029     'TestFun4',{{'ObjTestFun41','ObjTestFun42'},{'ConsTestFun41','ConsTestFun42','ConsTestFun43'},{'>=','>=','>='}},...
0030     'Kursawe',{{'ObjKursawe1','ObjKursawe2'},{},{}},...
0031     'MultiSchaffer1',{{'ObjMultiSchaffer11','ObjMultiSchaffer12'},{},{}},... 
0032     'MultiSchaffer2',{{'ObjMultiSchaffer21','ObjMultiSchaffer22'},{},{}},...
0033     'Poloni',{{'ObjPoloni1','ObjPoloni2'},{},{}},...
0034     'ZitzlerDebThiele1',{{'ObjZitzlerDebThiele11','ObjZitzlerDebThiele12'},{},{}},...
0035     'ZitzlerDebThiele2',{{'ObjZitzlerDebThiele21','ObjZitzlerDebThiele22'},{},{}},...
0036     'ZitzlerDebThiele3',{{'ObjZitzlerDebThiele31','ObjZitzlerDebThiele32'},{},{}},...
0037     'ZitzlerDebThiele4',{{'ObjZitzlerDebThiele41','ObjZitzlerDebThiele42'},{},{}},...
0038     'ZitzlerDebThiele6',{{'ObjZitzlerDebThiele61','ObjZitzlerDebThiele62'},{},{}},...
0039     'OsyczkaKundu',{{'ObjOsyczkaKundu1','ObjOsyczkaKundu2'},{'ConsOsyczkaKundu1','ConsOsyczkaKundu2','ConsOsyczkaKundu3','ConsOsyczkaKundu4','ConsOsyczkaKundu5','ConsOsyczkaKundu6'},{'>=','>=','>=','>=','>=','>='}},...
0040     'CTP1',{{'ObjCTP11','ObjCTP12'},{'ConsCTP11','ConsCTP12'},{'>=','>='}},...
0041     'ConstrEx',{{'ObjConstrEx1','ObjConstrEx2'},{'ConsConstrEx1','ConsConstrEx2'},{'>=','>='}},...
0042     'Viennet',{{'ObjViennet1','ObjViennet2','ObjViennet3'},{},{}});
0043 if nargin==1
0044     funAll={listPb.(funName)};
0045     %
0046     funOpti=funAll{1};
0047     funCons=funAll{2};
0048     typeCons=funAll{3};
0049 else
0050     funOpti=listPb;
0051 end
0052 end

Generated on Tue 28-May-2019 16:00:34 by m2html © 2005