Commit Graph

53 Commits

Author SHA1 Message Date
35272e08c6 Primal: Skip non-binary variables 2021-08-18 10:34:56 -05:00
895cb962b6 Make get_variable_{categories,features} return np.ndarray 2021-08-09 15:19:53 -05:00
7d55d6f34c Use np.array for Variables.names 2021-08-08 07:24:14 -05:00
0c4b0ea81a Use np.ndarray in Variables 2021-08-05 15:42:19 -05:00
ca925119b3 Add static_ prefix to all static features 2021-08-04 13:35:16 -05:00
10eed9b306 Don't include intermediary features in sample; rename some keys 2021-08-04 13:22:12 -05:00
ef9c48d79a Replace Hashable by str 2021-07-15 16:21:40 -05:00
235c3e55c2 Make Sample abstract; create MemorySample 2021-07-14 08:31:01 -05:00
851b8001bb Move features to its own package 2021-07-14 08:23:52 -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
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
ef7a50e871 Only include static features in after-load 2021-04-13 16:08:30 -05:00
a9dcdb8e4e Update PrimalSolutionComponent 2021-04-13 07:23:07 -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
2979bd157c Rewrite PrimalSolutionComponent.sample_xy 2021-04-11 21:52:59 -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
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
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
c6aee4f90d Make sample_ method accept instance 2021-04-06 06:48:47 -05:00
6e326d5d6e Move feature classes to features.py 2021-04-05 20:38:31 -05:00
b11779817a Convert TrainingSample to dataclass 2021-04-05 20:36:04 -05:00
d79eec5da6 Convert VariableFeatures into dataclass 2021-04-04 22:56:26 -05:00
59f4f75a53 Convert Features into dataclass 2021-04-04 22:37:16 -05:00
0bce2051a8 Redesign component.evaluate 2021-04-02 08:10:08 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
ef556f94f0 Rename xy_sample to xy 2021-04-02 06:26:48 -05:00
bc8fe4dc98 Components: Switch from factory methods to prototype objects 2021-04-01 08:34:56 -05:00
b83911a91d Primal: Add end-to-end tests 2021-03-31 12:51:18 -05:00
db2f426140 Primal: reactivate before_solve_mip 2021-03-31 12:08:49 -05:00
fe7bad885c Make xy_sample receive features, not instances 2021-03-31 10:05:59 -05:00
4f46866921 Primal: Use instance.features 2021-03-31 08:22:43 -05:00
12fca1f22b Extract all features ahead of time 2021-03-31 07:42:01 -05:00
ec69464794 Refactor primal 2021-03-30 21:44:13 -05:00
1224613b1a Implement component.fit, component.fit_xy 2021-03-30 21:18:40 -05:00
64a63264c7 Rename xy to xy_sample 2021-03-30 17:24:27 -05:00
e8adeb28a3 Add ObjectiveValueComponent.xy 2021-03-30 17:17:29 -05:00
9266743940 Add Component.xy and PrimalSolutionComponent.xy 2021-03-30 17:08:10 -05:00
1397937f03 Add first model feature (constraint RHS) 2021-03-02 17:21:05 -06:00