View source: R/LocalSearchFSFunctions.R
ILSFS | R Documentation |
An iterated local search for the permutative flowshop. At each iteration, the present examined solution obtained at the previous iteration is perturbated performing ni
insertions. This perturbated solution is improved with a local search heuristic using the swap operator. The starting solution is obtained with the Palmer heuristic.
ILSFS(M, ni = 4, iter = 100, opt = "HC", ...)
M |
A matrix object storing the time to process task j (column) in machine i (row). |
ni |
Number of insertions performed when perturbating the solution. |
iter |
number of iterations. |
opt |
the local search algorithm to implement. Presently are supported |
... |
we can pass additional parameters for the |
sol The obtained solution.
obj The makespan of the obtained solution.
set.seed(2020) instance <- matrix(sample(10:90, 100, replace=TRUE), 5, 20) ILSFS(M=instance, opt="SA", Tmax=10000, mu=1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.