Research Article

A Hybrid Evolutionary Algorithm for Wheat Blending Problem

Algorithm 1

Heuristic algorithm.
hasNext = true
While   hasNext
hasNext = false
, = SELECT_BY_BEST_RATIO(L)
blends = COMBINATIONS(L, , )
= null
for  each  blend  in  blends
if NOT_VALID(blend)
   continue
end if
if NO_PROFIT(blend)
   continue
end if
If     or   blend is  better  than  
    =
end  if
end for
if     is  not   null
   APPLY( )
   hasNext = true
end  if
end  while