Commit Graph

95 Commits

Author SHA1 Message Date
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
a01c179341 LearningSolver: Load each instance exactly twice during fit 2021-04-13 18:11:37 -05:00
ef7a50e871 Only include static features in after-load 2021-04-13 16:08:30 -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
b5411b8950 Update ObjectiveValueComponent 2021-04-13 07:53:23 -05:00
a9dcdb8e4e Update PrimalSolutionComponent 2021-04-13 07:23:07 -05:00
d7aa31f3eb Fix mypy errors 2021-04-13 06:47:31 -05:00
cb62345acf Refactor StaticLazy 2021-04-12 10:05:17 -05:00
e6672a45a0 Rename more methods to _old 2021-04-12 08:55:01 -05:00
6f6cd3018b Rewrite DynamicLazy.sample_xy 2021-04-12 08:11:39 -05:00
bccf0e9860 Rewrite StaticLazy.sample_xy 2021-04-12 07:35:51 -05:00
2979bd157c Rewrite PrimalSolutionComponent.sample_xy 2021-04-11 21:52:59 -05:00
d90d7762e3 Rewrite ObjectiveValueComponent.sample_xy 2021-04-11 21:27:25 -05:00
2da60dd293 Rename methods that use TrainingSample to _old 2021-04-11 21:00:04 -05:00
bd78518c1f Convert MIPSolveStats into dataclass 2021-04-11 09:10:14 -05:00
733c8299e0 Add more variable features 2021-04-10 18:56:59 -05:00
088d679f61 Redesign InternalSolver constraint methods 2021-04-10 15:53:38 -05:00
9368b37139 Replace individual constraint methods by single get_constraints 2021-04-09 21:51:38 -05:00
a8224b5a38 Move instance fixtures into the main source; remove duplication 2021-04-09 19:07:46 -05:00
e9cd6d1715 Add types to remaining files; activate mypy's disallow_untyped_defs 2021-04-07 21:25:30 -05:00
0232219a0e Make InternalSolver clonable 2021-04-07 19:52:21 -05:00
1cf6124757 Refer to variables by varname instead of (vname, index) 2021-04-07 11:56:05 -05:00
f495297168 Remove experimental LP components 2021-04-06 17:00:51 -05:00
f90f295620 Reorganize instance package 2021-04-06 16:31:47 -05:00
3543a2ba92 Optimize imports 2021-04-06 16:23:55 -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
9f2d7439dc Add user cut callbacks; begin rewrite of UserCutsComponent 2021-04-06 12:46:37 -05:00
cfb17551f1 Make sample_xy an instance method 2021-04-06 11:24:56 -05:00
54c20382c9 Finish DynamicLazyConstraintsComponent rewrite 2021-04-06 08:19:29 -05:00