Skip to content

Commit 2a36063

Browse files
committed
Improved style [skip ci]
1 parent 3dede32 commit 2a36063

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

lib/or_tools/routing_model.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
module ORTools
22
class RoutingModel
3-
def solve(solution_limit: nil, time_limit: nil, lns_time_limit: nil,
4-
first_solution_strategy: nil, local_search_metaheuristic: nil,
5-
log_search: nil)
6-
3+
def solve(
4+
solution_limit: nil,
5+
time_limit: nil,
6+
lns_time_limit: nil,
7+
first_solution_strategy: nil,
8+
local_search_metaheuristic: nil,
9+
log_search: nil
10+
)
711
search_parameters = ORTools.default_routing_search_parameters
812
search_parameters.solution_limit = solution_limit if solution_limit
913
search_parameters.time_limit = time_limit if time_limit

0 commit comments

Comments
 (0)