Skip to content

Commit

Permalink
Add backtracking to max-sum, improve greedy solver
Browse files Browse the repository at this point in the history
With this change, the solver is now exact, i.e. it should always
find a solution if it exists, and fail only when it
doesn't, producing a reasonable log trace in that case.
(Optimality is still based on a heuristic, unless the solution
is found by the greedy solver, which is quite improved as well
anyway.)
  • Loading branch information
carlobaldassi committed Jan 5, 2018
1 parent 698be15 commit 98e1e8f
Show file tree
Hide file tree
Showing 7 changed files with 747 additions and 360 deletions.
1 change: 0 additions & 1 deletion bin/Pkg2/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module Types
export VersionInterval, VersionSet
import Base: show, isempty, in, intersect, union!, union, ==, hash, copy, deepcopy_internal

import Pkg3.equalto
import Pkg3.iswindows

struct VersionInterval
Expand Down
Loading

0 comments on commit 98e1e8f

Please sign in to comment.