Commit Graph

202 Commits

Author SHA1 Message Date
a42cd5ae35 Lazy: Simplify method signature; switch to AbstractModel 2023-10-27 09:14:51 -05:00
7079a36203 Lazy: Rename fields 2023-10-27 08:53:38 -05: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
3fd252659e Update docs 2022-03-01 10:01:24 -06: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
08fc18beb0 feature/docs 2022-01-25 12:00:57 -06:00
2a76dd42ec Allow user to attach arbitrary data to violations 2022-01-25 11:39:03 -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
c6b31a827d GurobiSolver: Accept non-binary integer variables 2021-08-13 10:15:23 -05:00
ccb1a1ed25 GurobiSolver: Fix LHS extraction 2021-08-12 07:52:34 -05:00
fabb13dc7a Extract LHS as a sparse matrix 2021-08-12 05:35:04 -05:00
5b3a56f053 Re-add sample.{get,put}_bytes 2021-08-11 06:24:10 -05:00
e852d5cdca Use np.ndarray for constraint methods in Instance 2021-08-10 07:09:42 -05:00
895cb962b6 Make get_variable_{categories,features} return np.ndarray 2021-08-09 15:19:53 -05:00
56b39b6c9c Make get_instance_features return np.ndarray 2021-08-09 14:02:14 -05:00
47d3011808 Use np.ndarray in instance features 2021-08-09 10:01:58 -05:00
5b54153a3a Use np in Constraints.lazy; replace some get_vector 2021-08-09 06:27:03 -05:00
f809dd7de4 Use np.ndarray in Constraints.{basis_status,senses} 2021-08-09 06:09:26 -05:00
9ddda7e1e2 Use np.ndarray for constraint names 2021-08-09 05:41:01 -05:00
45667ac2e4 Use np.ndarray for var_types, basis_status 2021-08-08 07:36:57 -05:00
7d55d6f34c Use np.array for Variables.names 2021-08-08 07:24:14 -05:00
f69067aafd Implement {get,put}_array; make other methods deprecated 2021-08-08 06:52:24 -05:00
0a32586bf8 Use np.ndarray in Constraints 2021-08-05 15:57:02 -05:00
0c4b0ea81a Use np.ndarray in Variables 2021-08-05 15:42:19 -05:00
ca925119b3 Add static_ prefix to all static features 2021-08-04 13:35:16 -05:00
6fd839351c GurobiSolver: Fix error messages 2021-07-27 11:50:03 -05:00
962707e8b7 Replace push_sample by create_sample 2021-07-27 09:25:40 -05:00
4224586d10 Remove sample.{get,set} 2021-07-27 09:00:04 -05:00
ef9c48d79a Replace Hashable by str 2021-07-15 16:21: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
609c5c7694 Rename Variables and Constraints; move to internal.py 2021-07-06 17:08:22 -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
438859e493 Request variable features/categories in bulk 2021-06-29 09:02:46 -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