algorithme tabo en matlab
Répondre à la discussion
Affichage des résultats 1 à 3 sur 3

algorithme tabo en matlab



  1. #1
    gouguia01

    algorithme tabo en matlab


    ------

    hello
    Our problem is to optimize a mathematical function with the method of search tabou in Matlab the first step;
    I am searching for the minimum global of this function to consider an initial solution (our function with two variables) ,I plot the geometry of the function With the mesh and meshgrid in Matlab, the initial solution is (1,1)
    - I cannot determine the size of the tabo list, I try lot of time but I cannot
    May objective are to develop a program in order to optimise the flowing function in Matlab .
    Please give me a guide or idea to solve our problem thanks.
    I have all steps of algorithm:
    Code:
    Syms  x y
    x= -2:0.1:2
    y= -2:0.1:2
    F(x,y)=((x-1).^2)+10*((x.^2 -y).^2);
    Y=F(1,1)
    s ← s0
    sBest ← s
    tabuList ← []
    while (not stoppingCondition())
       candidateList ← []
       bestCandidate ← null
       for (sCandidate in sNeighborhood)
          if ( (not tabuList.contains(sCandidate)) 
          and (fitness(sCandidate) > fitness(bestCandidate)) )
             bestCandidate ← sCandidate
          end if
       end for
       s ← bestCandidate
       if (fitness(bestCandidate) > fitness(sBest))
          sBest ← bestCandidate
       end if
       tabuList.push(bestCandidate);
       if (tabuList.size > maxTabuSize)
          tabuList.removeFirst()
       end if
    end while
    return sBes
    
    My program and de function is : 
     
     Intervalle de recherche :
      x=  (-2,2)
    y= (-2,2)
    
    Program of plot the function in Matlab  :
    >> mesh(x,y,f)
    >> f=((x-1).^2)+10*((x.^2 -y).^2);
    >> [x,y]=meshgrid(-2:.1:2,-2:.1:2);
    >> mesh(x,y,f);
    Thank you

    -----
    Dernière modification par Antoane ; 26/07/2017 à 16h01. Motif: Ajout balises code

  2. #2
    JPL
    Responsable des forums

    Re : algorithme tabo en matlab

    French is the only language allowed on this forum.
    Rien ne sert de penser, il faut réfléchir avant - Pierre Dac

  3. #3
    gouguia01

    Re : algorithme tabo en matlab

    pardon je vais traduire le message en français
    salutation

Discussions similaires

  1. algorithme max sur matlab
    Par victorien2015 dans le forum Programmation et langages, Algorithmique
    Réponses: 6
    Dernier message: 14/07/2015, 08h54
  2. Matlab Algorithme Nelder-Mead
    Par zaskzask dans le forum Mathématiques du supérieur
    Réponses: 0
    Dernier message: 17/06/2014, 11h58
  3. Programmation d'algorithme sous Matlab
    Par inviteea2db6de dans le forum Mathématiques du supérieur
    Réponses: 2
    Dernier message: 13/04/2010, 13h08
  4. Algorithme Matlab
    Par james_83 dans le forum Logiciel - Software - Open Source
    Réponses: 6
    Dernier message: 12/04/2010, 08h17
  5. Matrice et algorithme Matlab
    Par invited028b400 dans le forum Logiciel - Software - Open Source
    Réponses: 0
    Dernier message: 14/01/2008, 13h53