Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
440 B · 11 lines
at develop
123456789101112array[1..n] of var 1..n: x; % decision variablesvar int: cost; % objective function% --- some constraints defining the problem ---% The user-defined LNS strategypredicate my_lns() = basic_lns(uniform_neighbourhood(x, 0.2));@\Vlabel{line:inc:blns:strat}@% Solve using my_lns, restart every 500 nodes, overall timeout 120 secondssolve ::on_restart("my_lns") ::restart_constant(500) ::timeout(120) minimize cost;