Commit Graph

38 Commits

Author SHA1 Message Date
daa801b5e9 Pyomo: implement build_maxcut_model; add support for quadratic objectives 2025-06-11 14:23:10 -05:00
2ca2794457 GurobiModel: Capture static_var_obj_coeffs_quad 2025-06-11 13:19:36 -05:00
1c6912cc51 Add MaxCut problem 2025-06-11 11:58:57 -05:00
eb914a4bdd Replace NamedTemporaryFile with TemporaryDirectory in tests for better compatibility 2025-06-11 11:14:34 -05:00
b55554d410 Add _gurobipy suffix to all build_model functions 2024-02-06 16:08:24 -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
8805a83c1c Implement MemorizingCutsComponent; STAB: switch to edge formulation 2023-11-07 15:36:31 -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
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
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
2a76dd42ec Allow user to attach arbitrary data to violations 2022-01-25 11:39:03 -06:00
9cfb31bacb Remove {get,put}_set and deprecated functions 2021-08-10 17:27:06 -05:00
5b54153a3a Use np in Constraints.lazy; replace some get_vector 2021-08-09 06:27:03 -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
4224586d10 Remove sample.{get,set} 2021-07-27 09:00:04 -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
438859e493 Request variable features/categories in bulk 2021-06-29 09:02:46 -05:00
f9ac65bf9c Remove tuples from VariableFeatures 2021-05-20 10:03:18 -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
c4a6665825 Remove obsolete methods 2021-04-13 09:42:25 -05:00
c26b852c67 Update UserCutsComponent 2021-04-13 09:08:49 -05:00
a4433916e5 Update DynamicLazyConstraintsComponent 2021-04-13 08:42:06 -05:00
bd78518c1f Convert MIPSolveStats into dataclass 2021-04-11 09:10:14 -05:00
e9cd6d1715 Add types to remaining files; activate mypy's disallow_untyped_defs 2021-04-07 21:25:30 -05:00
1cf6124757 Refer to variables by varname instead of (vname, index) 2021-04-07 11:56:05 -05:00
332cdbd839 Update copyright year 2021-04-06 16:22:56 -05:00
9e7eed1dbd Finish rewrite of user cuts component 2021-04-06 16:17:05 -05:00
54c20382c9 Finish DynamicLazyConstraintsComponent rewrite 2021-04-06 08:19:29 -05:00
b11779817a Convert TrainingSample to dataclass 2021-04-05 20:36:04 -05:00
f90d78f802 Move tests to separate folder 2021-01-22 07:42:28 -06:00