Commit Graph

322 Commits

Author SHA1 Message Date
a2fbb9f8d8 Implement PrimalSolutionComponent; remove deprecated predictors 2020-02-24 10:01:21 -06:00
ccd694af9b Implement ObjectiveValueComponent 2020-02-23 15:09:57 -06:00
7de1db047f Implement InstanceFeaturesExtractor and ObjectiveValueExtractor 2020-02-23 12:23:45 -06:00
b428a4fc36 Add option to solve root relaxation only 2020-02-23 12:23:45 -06:00
9e4004ae8a Silence Gurobi 2020-02-22 22:45:30 -06:00
b60afab5ef Extract value of LP relaxation 2020-02-22 22:40:54 -06:00
10ad8e0a9e Make Gurobi the default solver 2020-02-22 22:30:26 -06:00
212e38d004 Make SolutionExtractor use instance.solution and instance.lp_solution 2020-02-22 22:19:30 -06:00
0048fcce13 Extract root relaxation solution 2020-02-22 22:02:30 -06:00
f8e8aeb973 Better encapsulate solvers 2020-02-22 20:22:33 -06:00
141c8f0fdf Store solution into instance object after solving 2020-02-22 19:32:21 -06:00
4bf7636f51 Fix tests for CPLEX; temporarily disable incompatible tests 2020-02-21 15:35:17 -06:00
4ab957b686 Update copyright notices 2020-02-21 15:03:33 -06:00
7d8279a3bb Merge branch 'master' into dev 2020-02-21 12:18:06 -06:00
635c16386d Update copyright notices 2020-02-21 11:35:09 -06:00
d3b5b43b94 Implement AdaptiveSolver; reorganize imports 2020-02-21 11:22:44 -06:00
1213f1d0a5 LearningSolver: fix node count for non-compatible solvers 2020-02-21 11:21:48 -06:00
ffb29d2bbb BenchmarkRunner: add solve method 2020-02-21 11:21:01 -06:00
c3902ad61c Branching: Make classifier configurable 2020-02-21 11:20:21 -06:00
d7131e9f66 Knapsack: Make jitter relative instead of absolute 2020-02-21 11:19:24 -06:00
cae1915660 Reactivate linear relaxation code; move to WarmStartComponent 2020-02-11 16:50:16 -06:00
85b804610f Move components into submodule 2020-02-05 12:50:36 -06:00
52b476f0a3 Remove PerVariableTransformer 2020-02-05 12:24:29 -06:00
5750b4c98d KNN: Make distinction between k and min_samples; improve logging 2020-02-05 12:15:29 -06:00
cb0b3d5468 Fix component name 2020-02-05 12:15:09 -06:00
fc62a7b067 Temporarily disable linear relaxation features 2020-02-05 12:14:41 -06:00
f9e9077803 Only use warmstart=true if warm start is available 2020-02-04 15:26:26 -06:00
2dc66696f9 Initial version of TSP generator 2020-02-04 13:29:53 -06:00
dbea4aa988 Make WarmStartComponent use Extractor 2020-02-04 13:29:06 -06:00
17c21382c5 miplearn module: export extractors 2020-02-04 11:34:38 -06:00
6685f4ff23 Switch tests to simpler Knapsack encoding; remove outdated test 2020-02-04 11:34:03 -06:00
c82de560f4 Implement UserFeaturesExtractor and SolutionExtractor 2020-02-04 11:33:23 -06:00
bb42815404 Knapsack: change encoding; add simpler class for tests 2020-02-04 11:31:44 -06:00
1986effcd5 Update MSS results 2020-02-03 10:51:57 -06:00
9239c4eb82 LearningSolver: add more constructor options; perform fit in parallel 2020-02-03 10:50:21 -06:00
1300a73bc2 WarmStart: save trained predictors; update defaults 2020-02-03 10:46:03 -06:00
f7f3b7e525 Branching: use variable categories instead of hardcoded indices 2020-02-03 10:42:05 -06:00
203537711f Export components and predictors 2020-02-01 08:22:52 -06:00
ccfcbe4e64 Unify API for challenges 2020-01-31 20:48:05 -06:00
82dfe20001 Do not collect training data during benchmarks 2020-01-31 20:47:27 -06:00
2679522b76 Merge components more efficiently 2020-01-31 11:06:07 -06:00
46e19eed1b Knapsack: minor correction to docs; update docstrings 2020-01-31 10:34:04 -06:00
c1ede58fbe Adjust knapsack challenge; introduce round option 2020-01-31 10:30:45 -06:00
2692e6946a Disable BranchPriorityComponent by default 2020-01-30 13:47:56 -06:00
354d0ac541 Branching: read priorities as float 2020-01-30 13:46:45 -06:00
46298db097 Fix docstrings regarding variables that should not be predicted 2020-01-30 13:22:17 -06:00
25ba23a58d Minor updates to knapsack docs; add challenge 2020-01-30 13:09:45 -06:00
a3309aa4b2 PerVariableTransformer: ignore variables with None category 2020-01-30 13:08:08 -06:00
8fe9ff1cd8 Knapsack: add fix_w and w_jitter 2020-01-30 09:45:28 -06:00
a9776715f4 Implement MultiKnapsackGenerator and MultiKnapsackInstance 2020-01-30 07:44:57 -06:00