mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-06 07:48:50 -06:00
Only use heuristic in multi-period instances
This commit is contained in:
@@ -259,7 +259,7 @@ function solve(filename::AbstractString;
|
|||||||
)
|
)
|
||||||
@info "Reading $filename..."
|
@info "Reading $filename..."
|
||||||
instance = RELOG.parsefile(filename)
|
instance = RELOG.parsefile(filename)
|
||||||
if heuristic
|
if heuristic && instance.time > 1
|
||||||
@info "Solving single-period version..."
|
@info "Solving single-period version..."
|
||||||
compressed = _compress(instance)
|
compressed = _compress(instance)
|
||||||
csol = solve(compressed;
|
csol = solve(compressed;
|
||||||
|
|||||||
Reference in New Issue
Block a user