126 Commits

Author SHA1 Message Date
f085ab538b LearningSolver: return model 2024-05-31 11:53:56 -05:00
b55554d410 Add _gurobipy suffix to all build_model functions 2024-02-06 16:08:24 -06:00
60c7222fbe Cuts: Call set_cuts instead of setting cuts_aot_ directly 2024-02-01 10:18:24 -06:00
281508f44c Store cuts and lazy constraints as JSON in H5 2024-02-01 10:06:21 -06:00
25bbe20748 Make lazy constr component compatible with Pyomo+Gurobi 2024-01-30 16:25:46 -06:00
c9eef36c4e Make cuts component compatible with Pyomo+Gurobi 2024-01-29 00:41:29 -06:00
d2faa15079 Reformat; remove unused imports 2024-01-28 20:47:16 -06:00
8805a83c1c Implement MemorizingCutsComponent; STAB: switch to edge formulation 2023-11-07 15:36:31 -06:00
7079a36203 Lazy: Rename fields 2023-10-27 08:53:38 -05:00
c1adc0b79e Implement MemorizingLazyConstrComponent 2023-10-26 15:37:05 -05:00
1ea989d48a MIPLearn v0.3 2023-06-08 11:25:39 -05:00
522f3a7e18 Change LearningSolver.solve and fit 2022-02-22 15:21:56 -06:00
87bba1b38e Make TravelingSalesmanGenerator return data class 2022-02-22 09:23:55 -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
35272e08c6 Primal: Skip non-binary variables 2021-08-18 10:34:56 -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
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
5b54153a3a Use np in Constraints.lazy; replace some get_vector 2021-08-09 06:27:03 -05:00
9ddda7e1e2 Use np.ndarray for constraint names 2021-08-09 05:41:01 -05:00
7d55d6f34c Use np.array for Variables.names 2021-08-08 07:24:14 -05:00
0c4b0ea81a Use np.ndarray in Variables 2021-08-05 15:42:19 -05:00
067f0f847c Add mip_ prefix to dynamic constraints 2021-08-04 13:38:23 -05:00
ca925119b3 Add static_ prefix to all static features 2021-08-04 13:35:16 -05:00
10eed9b306 Don't include intermediary features in sample; rename some keys 2021-08-04 13:22:12 -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
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
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
a5092cc2b9 Request constraint features/categories in bulk 2021-06-29 09:54:35 -05:00
c494f3e804 Remove tuples from ConstraintFeatures 2021-05-20 10:23:53 -05:00
f9ac65bf9c Remove tuples from VariableFeatures 2021-05-20 10:03:18 -05:00
4bf4d09cb5 Remove unused classes and methods 2021-05-15 14:29:11 -05:00
91c8db2225 Refactor StaticLazy; remove old constraint methods 2021-05-15 14:15:48 -05:00
0ba8cc16fd GurobiSolver: Implement relax/enforce constraint 2021-04-15 15:22:12 -05:00
0e9c8b0a49 Rename features.constraints to constraints_old 2021-04-15 11:00:52 -05:00
95e326f5f6 Use compact variable features everywhere 2021-04-15 09:49:35 -05:00
fec0113722 Rename features.variables to variables_old; update FeatureExtractor 2021-04-15 06:54:27 -05:00
77b10b9609 Parallel processing 2021-04-13 19:28:18 -05:00
bec7dae6d9 Add pre argument to sample_xy 2021-04-13 19:19:49 -05:00