Commit Graph

126 Commits (ca054292032e4528f6a77a34f23ebc72e03cf00b)

Author SHA1 Message Date
Alinson S. Xavier f085ab538b
LearningSolver: return model
1 year ago
Alinson S. Xavier b55554d410 Add _gurobipy suffix to all build_model functions
2 years ago
Alinson S. Xavier 60c7222fbe Cuts: Call set_cuts instead of setting cuts_aot_ directly
2 years ago
Alinson S. Xavier 281508f44c Store cuts and lazy constraints as JSON in H5
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 d2faa15079 Reformat; remove unused imports
2 years ago
Alinson S. Xavier 8805a83c1c
Implement MemorizingCutsComponent; STAB: switch to edge formulation
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 1ea989d48a
MIPLearn v0.3
2 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 1811492557
Fix failing Gurobi tests
4 years ago
Alinson S. Xavier 2a76dd42ec
Allow user to attach arbitrary data to violations
4 years ago
Alinson S. Xavier ba8f5bb2f4
Upgrade to Gurobi 9.5
4 years ago
Alinson S. Xavier 35272e08c6 Primal: Skip non-binary variables
4 years ago
Alinson S. Xavier 9cfb31bacb
Remove {get,put}_set and deprecated functions
4 years ago
Alinson S. Xavier ed58242b5c
Remove most usages of put_{vector,vector_list}; deprecate get_set
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 5b54153a3a
Use np in Constraints.lazy; replace some get_vector
4 years ago
Alinson S. Xavier 9ddda7e1e2
Use np.ndarray for constraint names
4 years ago
Alinson S. Xavier 7d55d6f34c
Use np.array for Variables.names
4 years ago
Alinson S. Xavier 0c4b0ea81a
Use np.ndarray in Variables
4 years ago
Alinson S. Xavier 067f0f847c
Add mip_ prefix to dynamic constraints
4 years ago
Alinson S. Xavier ca925119b3
Add static_ prefix to all static features
4 years ago
Alinson S. Xavier 10eed9b306
Don't include intermediary features in sample; rename some keys
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 235c3e55c2
Make Sample abstract; create MemorySample
4 years ago
Alinson S. Xavier 851b8001bb
Move features to its own package
4 years ago
Alinson S. Xavier 609c5c7694
Rename Variables and Constraints; move to internal.py
4 years ago
Alinson S. Xavier c8c29138ca
Remove unused classes and functions
4 years ago
Alinson S. Xavier cd9e5d4144
Remove sample.after_load
4 years ago
Alinson S. Xavier b4a267a524
Remove sample.after_lp
4 years ago
Alinson S. Xavier 4093ac62fd
Remove sample.after_mip
4 years ago
Alinson S. Xavier 061b1349fe
Move user_cuts/lazy_enforced to sample.data
4 years ago
Alinson S. Xavier 80281df8d8
Replace instance.samples by instance.get/push_sample
4 years ago
Alinson S. Xavier a5092cc2b9
Request constraint features/categories in bulk
4 years ago
Alinson S. Xavier c494f3e804
Remove tuples from ConstraintFeatures
4 years ago
Alinson S. Xavier f9ac65bf9c
Remove tuples from VariableFeatures
4 years ago
Alinson S. Xavier 4bf4d09cb5
Remove unused classes and methods
4 years ago
Alinson S. Xavier 91c8db2225
Refactor StaticLazy; remove old constraint methods
4 years ago
Alinson S. Xavier 0ba8cc16fd
GurobiSolver: Implement relax/enforce constraint
5 years ago
Alinson S. Xavier 0e9c8b0a49
Rename features.constraints to constraints_old
5 years ago
Alinson S. Xavier 95e326f5f6
Use compact variable features everywhere
5 years ago
Alinson S. Xavier fec0113722
Rename features.variables to variables_old; update FeatureExtractor
5 years ago
Alinson S. Xavier 77b10b9609
Parallel processing
5 years ago
Alinson S. Xavier bec7dae6d9
Add pre argument to sample_xy
5 years ago