Research Article
Three New Stochastic Local Search Metaheuristics for the Annual Crop Planning Problem Based on a New Irrigation Scheme
Generate an initial random solution | Set | Evaluate the fitness of | Set the fitness of and the fitness of | | Initiate starting temperature and final temperature | while do | (6.1) for to do | (6.1.1) = Generate_Solution () | (6.1.2) Evaluate | (6.1.3) if better than then | (6.1.3.1) true | (6.1.4) else | (6.1.4.1) Calculate acceptance probability | (6.1.4.2) if random then | (6.1.4.2.1) = true | (6.1.4.3) end if | (6.1.5) end else | (6.1.6) if then | (6.1.6.1) = false | (6.1.6.2) = | (6.1.6.3) = | (6.1.6.4) if better than then | (6.1.6.4.1) | (6.1.6.4.2) = | (6.1.6.5) end if | (6.1.7) end if | (6.2) end for | (6.3) Update according to cooling schedule | end while | return |
|