Commit Graph

732 Commits

Author SHA1 Message Date
87bba1b38e Make TravelingSalesmanGenerator return data class 2022-02-22 09:23:55 -06:00
03e5acb11a Make MultiKnapsackGenerator return data class 2022-02-22 09:20:17 -06:00
b0d63a0a2d Make MaxWeightStableSetGenerator return data class 2022-02-22 09:16:37 -06:00
08fc18beb0 feature/docs 2022-01-25 12:00:57 -06:00
1811492557 Fix failing Gurobi tests 2022-01-25 11:57:14 -06:00
2a76dd42ec Allow user to attach arbitrary data to violations 2022-01-25 11:39:03 -06:00
ba8f5bb2f4 Upgrade to Gurobi 9.5 2022-01-25 08:33:23 -06:00
5075a3c2f2 install-deps: Specify gurobi version 2021-12-03 12:40:58 -06:00
2601ef1f9b Make progress bars optional; other minor fixes 2021-09-10 16:41:07 -05:00
2fd04eb274 Add run_benchmarks method 2021-09-10 16:40:39 -05:00
beb15f7667 Remove obsolete benchmark files 2021-09-10 16:35:17 -05:00
2a405f7ce3 Docs: update benchmarks 2021-09-10 16:34:11 -05:00
4c5d0071ee Improve getting-started.ipynb 2021-09-04 07:25:14 -05:00
22c1e0d269 Remove outdated docs; switch to Jupyter notebooks; add first tutorial 2021-09-04 06:48:45 -05:00
9bd64c885a Minor fixes 2021-09-04 06:31:37 -05:00
65122c25b7 Bump version to 0.2.0.dev13 2021-08-30 09:30:21 -05:00
08d7904fda Merge tag 'v0.2.0.dev12' into dev 2021-08-30 09:28:14 -05:00
3220337e37 Bump version: miplearn-0.2.0.dev12 v0.2.0.dev12 2021-08-26 06:16:16 -05:00
35272e08c6 Primal: Skip non-binary variables 2021-08-18 10:34:56 -05:00
c6b31a827d GurobiSolver: Accept non-binary integer variables 2021-08-13 10:15:23 -05:00
9e023a375a AlvLouWeh2017: Remove slow loop in M3 2021-08-13 06:07:46 -05:00
f2b710e9f9 AlvLouWeh2017: Implement remaining features 2021-08-13 05:56:38 -05:00
0480461a7f AlvLouWeh2017: Implement features 12-19 2021-08-12 20:46:26 -05:00
6a01c98c07 Merge branch 'feature/hdf5' into dev 2021-08-12 08:05:27 -05:00
cea2d8c134 Fix failing tests 2021-08-12 08:01:09 -05:00
78d2ad4857 AlvLouWeh2017: Add some assertions; replace non-finite by zero 2021-08-12 07:52:48 -05:00
ccb1a1ed25 GurobiSolver: Fix LHS extraction 2021-08-12 07:52:34 -05:00
2b00cf5b96 Hdf5Sample: Store all fp arrays as float32 2021-08-12 07:51:59 -05:00
53a7c8f84a AlvLouWeh2017: Implement M1 features 2021-08-12 07:17:53 -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
256d3d094f AlvLouWeh2017: Remove sample argument 2021-08-11 06:17:57 -05:00
a65ebfb17c Re-enable half-precision; minor changes to FeaturesExtractor benchmark 2021-08-10 17:30:16 -05:00
9cfb31bacb Remove {get,put}_set and deprecated functions 2021-08-10 17:27:06 -05:00
ed58242b5c Remove most usages of put_{vector,vector_list}; deprecate get_set 2021-08-10 11:52:02 -05:00
60b9a6775f Use NumPy to compute AlvLouWeh2017 features 2021-08-10 10:28:30 -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
63eff336e2 Implement sample.{get,put}_sparse 2021-08-09 07:09:02 -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
b6426462a1 Fix failing tests 2021-08-05 14:05:50 -05:00