Commit Graph

78 Commits

Author SHA1 Message Date
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
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
c1adc0b79e Implement MemorizingLazyConstrComponent 2023-10-26 15:37:05 -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
ce78d5114a Merge branch 'feature/new-py-api' into feature/docs 2022-02-25 08:36:43 -06: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
beb15f7667 Remove obsolete benchmark files 2021-09-10 16:35:17 -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
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
438859e493 Request variable features/categories in bulk 2021-06-29 09:02:46 -05:00
91c8db2225 Refactor StaticLazy; remove old constraint methods 2021-05-15 14:15:48 -05:00
c4a6665825 Remove obsolete methods 2021-04-13 09:42:25 -05:00
088d679f61 Redesign InternalSolver constraint methods 2021-04-10 15:53:38 -05:00
f70363db0d Replace build_lazy_constraint by enforce_lazy_constraint 2021-04-10 10:05:30 -05:00
a8224b5a38 Move instance fixtures into the main source; remove duplication 2021-04-09 19:07:46 -05:00
38212fb858 Add types to tsp.py 2021-04-07 20:33:28 -05:00
f7545204d7 Add types to stab.py 2021-04-07 20:25:59 -05:00
2c93ff38fc Add types to knapsack.py 2021-04-07 20:21:28 -05:00
1cf6124757 Refer to variables by varname instead of (vname, index) 2021-04-07 11:56:05 -05:00
f90f295620 Reorganize instance package 2021-04-06 16:31:47 -05:00
332cdbd839 Update copyright year 2021-04-06 16:22:56 -05:00
9f2d7439dc Add user cut callbacks; begin rewrite of UserCutsComponent 2021-04-06 12:46:37 -05:00
f2520f33fb Correctly store features and training data for file-based instances 2021-04-04 22:00:21 -05:00
7a6b31ca9a Fix benchmark scripts; add more input checks 2021-04-03 07:57:22 -05:00
db2f426140 Primal: reactivate before_solve_mip 2021-03-31 12:08:49 -05:00
1224613b1a Implement component.fit, component.fit_xy 2021-03-30 21:18:40 -05:00
1397937f03 Add first model feature (constraint RHS) 2021-03-02 17:21:05 -06:00
603902e608 Refactor ObjectiveComponent 2021-01-26 22:16:46 -06:00
f90d78f802 Move tests to separate folder 2021-01-22 07:42:28 -06:00
7dbbfdc418 Minor fixes 2021-01-21 18:21:53 -06:00
06402516e6 Move collected data to instance.training_data 2021-01-21 08:21:40 -06:00
23dd311d75 Reorganize imports; start moving data to instance.training_data 2021-01-20 12:02:25 -06:00
ffc77075f5 Require a callable as the internal solver 2021-01-19 21:21:39 -06:00
d8dc8471aa Implement tests for ConvertTightIneqsIntoEqsStep 2021-01-07 10:29:22 -06:00
d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks 2020-12-05 10:59:33 -06:00
57d185dfc2 Merge branch 'gh-actions' into dev 2020-12-03 11:46:38 -06:00
272eb647fd Switch to GitHub runners; temporarily disable CPLEX 2020-12-03 11:43:13 -06:00
e527e75481 Implement iteration_cb for LearningSolver; reactivate TSP 2020-09-23 17:46:18 -05:00
425ea2b7cc Temporarily remove native solver callbacks; add iteration_cb 2020-09-23 17:30:39 -05:00