Commit Graph

48 Commits

Author SHA1 Message Date
3edc8139e9 Improve logging 2021-04-08 11:23:30 -05:00
96093a9b8e Enforce more overrides 2021-04-07 12:01:05 -05:00
1cf6124757 Refer to variables by varname instead of (vname, index) 2021-04-07 11:56:05 -05:00
f90f295620 Reorganize instance package 2021-04-06 16:31:47 -05:00
3543a2ba92 Optimize imports 2021-04-06 16:23:55 -05:00
332cdbd839 Update copyright year 2021-04-06 16:22:56 -05:00
c6aee4f90d Make sample_ method accept instance 2021-04-06 06:48:47 -05:00
6e326d5d6e Move feature classes to features.py 2021-04-05 20:38:31 -05:00
b11779817a Convert TrainingSample to dataclass 2021-04-05 20:36:04 -05:00
d79eec5da6 Convert VariableFeatures into dataclass 2021-04-04 22:56:26 -05:00
59f4f75a53 Convert Features into dataclass 2021-04-04 22:37:16 -05:00
6e614264b5 StaticLazy: Refactor 2021-04-04 08:39:56 -05:00
185b95118a Objective: Rewrite sample_evaluate 2021-04-03 18:37:49 -05:00
0bce2051a8 Redesign component.evaluate 2021-04-02 08:10:08 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
8eb2b63a85 Primal: Refactor stats 2021-04-02 06:32:44 -05:00
ef556f94f0 Rename xy_sample to xy 2021-04-02 06:26:48 -05:00
bc8fe4dc98 Components: Switch from factory methods to prototype objects 2021-04-01 08:34:56 -05:00
b83911a91d Primal: Add end-to-end tests 2021-03-31 12:51:18 -05:00
db2f426140 Primal: reactivate before_solve_mip 2021-03-31 12:08:49 -05:00
fe7bad885c Make xy_sample receive features, not instances 2021-03-31 10:05:59 -05:00
0f5a6745a4 Primal: Refactoring 2021-03-31 09:08:01 -05:00
4f46866921 Primal: Use instance.features 2021-03-31 08:22:43 -05:00
12fca1f22b Extract all features ahead of time 2021-03-31 07:42:01 -05:00
b3c24814b0 Refactor PrimalSolutionComponent 2021-03-31 06:55:24 -05:00
ec69464794 Refactor primal 2021-03-30 21:44:13 -05:00
1224613b1a Implement component.fit, component.fit_xy 2021-03-30 21:18:40 -05:00
64a63264c7 Rename xy to xy_sample 2021-03-30 17:24:27 -05:00
e8adeb28a3 Add ObjectiveValueComponent.xy 2021-03-30 17:17:29 -05:00
9266743940 Add Component.xy and PrimalSolutionComponent.xy 2021-03-30 17:08:10 -05:00
6ae052c8d0 Rename before/after_solve to before/after_solve_mip 2021-03-30 09:04:41 -05:00
a97089fc34 Primal: Add tolerance in binary check 2021-01-25 17:54:41 -06:00
203afc6993 Primal: Compute statistics 2021-01-25 16:02:40 -06:00
3ab3bb3c1f Refactor PrimalSolutionComponent 2021-01-25 14:54:58 -06:00
f68cc5bd59 Refactor thresholds 2021-01-25 09:52:49 -06:00
fc0835e694 Add type annotations to components 2021-01-21 15:54:23 -06:00
06402516e6 Move collected data to instance.training_data 2021-01-21 08:21:40 -06:00
e12a896504 Add training_data argument to after_solve 2021-01-14 10:37:48 -06:00
d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks 2020-12-05 10:59:33 -06:00
388b10c63c Train without loading all instances to memory 2020-12-04 09:37:41 -06:00
4144b8b6b3 Primal: In evaluate, skip variables without predictions 2020-10-05 11:28:30 -05:00
6b104433be Improve logging 2020-09-15 08:46:49 -05:00
5663ced0be Move python files to root folder; remove built docs 2020-08-29 11:42:02 -05:00
7765d1f822 Reorganize directories 2020-03-05 17:58:56 -06:00
5eee00c626 Plot predicted objective value 2020-02-26 15:45:02 -06:00
0b04fa93da Finish TSP implementation; improve performance of Extractors 2020-02-25 22:31:03 -06:00
7a01d9cbcf Implement TSP generator and LazyConstraintsComponent 2020-02-24 22:01:12 -06:00
996b16f1b7 Add missing files 2020-02-24 10:02:52 -06:00