Commit Graph

101 Commits

Author SHA1 Message Date
7ccb7875b9 Allow components to return stats, instead of modifying in-place
Added for compatibility with Julia.
2024-08-20 16:46:20 -05:00
f085ab538b LearningSolver: return model 2024-05-31 11:53:56 -05:00
e75850fab8 LearningSolver: Keep original H5 file unmodified 2024-02-02 14:37:53 -06:00
2d07a44f7d Fix mypy errors 2023-10-26 13:41:50 -05:00
1ea989d48a MIPLearn v0.3 2023-06-08 11:25:39 -05:00
6cc253a903 Update 2022-06-01 11:40:48 -05:00
f794c27634 Add progress arg to LearningSolver.solve 2022-02-25 09:35:05 -06:00
ce78d5114a Merge branch 'feature/new-py-api' into feature/docs 2022-02-25 08:36:43 -06:00
04dd3ad5d5 Implement load; update fit 2022-02-25 08:26:33 -06:00
522f3a7e18 Change LearningSolver.solve and fit 2022-02-22 15:21:56 -06:00
2601ef1f9b Make progress bars optional; other minor fixes 2021-09-10 16:41:07 -05:00
9bd64c885a Minor fixes 2021-09-04 06:31:37 -05:00
47d3011808 Use np.ndarray in instance features 2021-08-09 10:01:58 -05:00
962707e8b7 Replace push_sample by create_sample 2021-07-27 09:25:40 -05:00
8fc7c6ab71 Split Sample.{get,put} into {get,put}_{scalar,vector} 2021-07-14 10:50:54 -05:00
235c3e55c2 Make Sample abstract; create MemorySample 2021-07-14 08:31:01 -05:00
851b8001bb Move features to its own package 2021-07-14 08:23:52 -05:00
c8c29138ca Remove unused classes and functions 2021-07-06 17:04:32 -05:00
cd9e5d4144 Remove sample.after_load 2021-07-06 16:58:09 -05:00
b4a267a524 Remove sample.after_lp 2021-07-01 12:25:50 -05:00
4093ac62fd Remove sample.after_mip 2021-07-01 11:45:19 -05:00
7c4c301611 Extract instance, var and constr features into sample 2021-07-01 11:06:36 -05:00
061b1349fe Move user_cuts/lazy_enforced to sample.data 2021-07-01 08:46:27 -05:00
80281df8d8 Replace instance.samples by instance.get/push_sample 2021-06-29 16:49:24 -05:00
6969f2ffd2 Measure time extracting features 2021-06-29 07:52:04 -05:00
5b4b8adee5 LearningSolver: add extract_sa, extract_lhs arguments 2021-06-28 17:34:15 -05:00
46a7d3fe26 BenchmarkRunner.fit: Only iterate through files twice 2021-06-28 09:32:30 -05:00
343afaeec0 Fix MyPy errors 2021-05-26 09:49:58 -05:00
4c7e63409d Improve logging 2021-05-26 09:01:40 -05:00
c3d26a1c75 Reduce memory consumption of parallel_solve 2021-04-30 11:54:55 -05:00
39597287a6 Make extractor configurable 2021-04-15 09:57:10 -05:00
77b10b9609 Parallel processing 2021-04-13 19:28:18 -05:00
a01c179341 LearningSolver: Load each instance exactly twice during fit 2021-04-13 18:11:37 -05:00
ef7a50e871 Only include static features in after-load 2021-04-13 16:08:30 -05:00
c4a6665825 Remove obsolete methods 2021-04-13 09:42:25 -05:00
a4433916e5 Update DynamicLazyConstraintsComponent 2021-04-13 08:42:06 -05:00
9d404f29a7 Call new fit method 2021-04-12 10:30:47 -05:00
e6672a45a0 Rename more methods to _old 2021-04-12 08:55:01 -05:00
08ede5db09 Component: add new callback methods 2021-04-12 08:34:46 -05:00
2da60dd293 Rename methods that use TrainingSample to _old 2021-04-11 21:00:04 -05:00
5fd13981d4 Append sample 2021-04-11 17:39:55 -05:00
fde6dc5a60 Combine after_load, after_lp and after_mip into Sample dataclass 2021-04-11 17:20:17 -05:00
3cfadf4e97 Pyomo: Collect variable bounds, obj_coeff, value, type 2021-04-11 16:21:31 -05:00
6b15337e4c Add mip_stats to after-mip features 2021-04-11 09:14:05 -05:00
bd78518c1f Convert MIPSolveStats into dataclass 2021-04-11 09:10:14 -05:00
2bc1e21f8e Add lp_stats to after-lp features 2021-04-11 08:57:57 -05:00
945f6a091c Convert LPSolveStats into dataclass 2021-04-11 08:41:50 -05:00
6afdf2ed55 Collect features 3 times (after-load, after-lp, after-mip) 2021-04-11 08:03:46 -05:00
166cdb81d7 Fix tests 2021-04-09 07:59:52 -05:00
74ceb776c3 Skip extracting features if already computed 2021-04-09 07:53:14 -05:00