Commit Graph

85 Commits (1c6912cc514b874d46b3e237117118f0b14d1e20)

Author SHA1 Message Date
Alinson S. Xavier 1c6912cc51 Add MaxCut problem
4 months ago
Alinson S. Xavier dadd2216f1 Make compatible with Gurobi 12
4 months ago
Alinson S. Xavier 5fefb49566 Update to Gurobi 11
4 months ago
Alinson S. Xavier b55554d410 Add _gurobipy suffix to all build_model functions
2 years ago
Alinson S. Xavier 281508f44c Store cuts and lazy constraints as JSON in H5
2 years ago
Alinson S. Xavier 2774edae8c tsp: Remove some code duplication
2 years ago
Alinson S. Xavier 25bbe20748 Make lazy constr component compatible with Pyomo+Gurobi
2 years ago
Alinson S. Xavier c9eef36c4e Make cuts component compatible with Pyomo+Gurobi
2 years ago
Alinson S. Xavier 8805a83c1c
Implement MemorizingCutsComponent; STAB: switch to edge formulation
2 years ago
Alinson S. Xavier a42cd5ae35
Lazy: Simplify method signature; switch to AbstractModel
2 years ago
Alinson S. Xavier 7079a36203
Lazy: Rename fields
2 years ago
Alinson S. Xavier c1adc0b79e
Implement MemorizingLazyConstrComponent
2 years ago
Alinson S. Xavier 2d07a44f7d
Fix mypy errors
2 years ago
Alinson S. Xavier 1ea989d48a
MIPLearn v0.3
2 years ago
Alinson S. Xavier 6cc253a903 Update
3 years ago
Alinson S. Xavier ce78d5114a
Merge branch 'feature/new-py-api' into feature/docs
4 years ago
Alinson S. Xavier 522f3a7e18
Change LearningSolver.solve and fit
4 years ago
Alinson S. Xavier 87bba1b38e
Make TravelingSalesmanGenerator return data class
4 years ago
Alinson S. Xavier 03e5acb11a
Make MultiKnapsackGenerator return data class
4 years ago
Alinson S. Xavier b0d63a0a2d
Make MaxWeightStableSetGenerator return data class
4 years ago
Alinson S. Xavier 2a76dd42ec
Allow user to attach arbitrary data to violations
4 years ago
Alinson S. Xavier beb15f7667 Remove obsolete benchmark files
4 years ago
Alinson S. Xavier e852d5cdca
Use np.ndarray for constraint methods in Instance
4 years ago
Alinson S. Xavier 895cb962b6
Make get_variable_{categories,features} return np.ndarray
4 years ago
Alinson S. Xavier 56b39b6c9c
Make get_instance_features return np.ndarray
4 years ago
Alinson S. Xavier 4224586d10
Remove sample.{get,set}
4 years ago
Alinson S. Xavier ef9c48d79a
Replace Hashable by str
4 years ago
Alinson S. Xavier 438859e493
Request variable features/categories in bulk
4 years ago
Alinson S. Xavier 91c8db2225
Refactor StaticLazy; remove old constraint methods
4 years ago
Alinson S. Xavier c4a6665825
Remove obsolete methods
5 years ago
Alinson S. Xavier 088d679f61
Redesign InternalSolver constraint methods
5 years ago
Alinson S. Xavier f70363db0d
Replace build_lazy_constraint by enforce_lazy_constraint
5 years ago
Alinson S. Xavier a8224b5a38
Move instance fixtures into the main source; remove duplication
5 years ago
Alinson S. Xavier 38212fb858
Add types to tsp.py
5 years ago
Alinson S. Xavier f7545204d7
Add types to stab.py
5 years ago
Alinson S. Xavier 2c93ff38fc
Add types to knapsack.py
5 years ago
Alinson S. Xavier 1cf6124757
Refer to variables by varname instead of (vname, index)
5 years ago
Alinson S. Xavier f90f295620
Reorganize instance package
5 years ago
Alinson S. Xavier 332cdbd839
Update copyright year
5 years ago
Alinson S. Xavier 9f2d7439dc
Add user cut callbacks; begin rewrite of UserCutsComponent
5 years ago
Alinson S. Xavier f2520f33fb
Correctly store features and training data for file-based instances
5 years ago
Alinson S. Xavier 7a6b31ca9a Fix benchmark scripts; add more input checks
5 years ago
Alinson S. Xavier db2f426140 Primal: reactivate before_solve_mip
5 years ago
Alinson S. Xavier 1224613b1a Implement component.fit, component.fit_xy
5 years ago
Alinson S. Xavier 1397937f03 Add first model feature (constraint RHS)
5 years ago
Alinson S. Xavier 603902e608 Refactor ObjectiveComponent
5 years ago
Alinson S. Xavier f90d78f802 Move tests to separate folder
5 years ago
Alinson S. Xavier 7dbbfdc418 Minor fixes
5 years ago
Alinson S. Xavier 06402516e6 Move collected data to instance.training_data
5 years ago
Alinson S. Xavier 23dd311d75 Reorganize imports; start moving data to instance.training_data
5 years ago