Commit Graph

394 Commits

Author SHA1 Message Date
4a52911924 AlvLouWeh2017: Replace non-finite features by constant 2021-08-04 13:54:14 -05:00
e72f3b553f Hdf5Sample: Use half-precision for floats 2021-08-04 13:44:42 -05:00
067f0f847c Add mip_ prefix to dynamic constraints 2021-08-04 13:38:23 -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
865a4b2f40 Hdf5Sample: Store string vectors as "S" dtype instead of obj 2021-08-04 11:34:56 -05:00
c513515725 Hdf5Sample: Enable compression 2021-07-28 10:14:55 -05:00
7d5ec1344a Make Hdf5Sample work with bytearray 2021-07-28 09:06:15 -05:00
a69cbed7b7 Improve error messages in assertions 2021-07-28 08:57:09 -05:00
fc55a077f2 Sample: Allow numpy arrays 2021-07-28 08:21:56 -05:00
6fd839351c GurobiSolver: Fix error messages 2021-07-27 11:50:03 -05:00
b6880f068c Hdf5Sample: store lengths as dataset instead of attr 2021-07-27 11:47:26 -05:00
728a6bc835 Remove debug statement 2021-07-27 11:24:41 -05:00
d30c3232e6 FileInstance.save: create file when it does not already exist 2021-07-27 11:22:40 -05:00
15e08f6c36 Implement FileInstance 2021-07-27 11:02:04 -05:00
f1dc450cbf Do nothing on put_scalar(None) 2021-07-27 10:55:19 -05:00
6c98986675 Hdf5Sample: Return None for non-existing keys 2021-07-27 10:49:30 -05:00
a0f8bf15d6 Handle completely empty veclists 2021-07-27 10:45:11 -05:00
3da8d532a8 Sample: handle None in vectors 2021-07-27 10:37:02 -05:00
284ba15db6 Implement sample.{get,put}_bytes 2021-07-27 10:01:32 -05:00
962707e8b7 Replace push_sample by create_sample 2021-07-27 09:25:40 -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
8d89285cb9 Implement {get,put}_vector_list 2021-07-15 16:00:13 -05:00
8fc7c6ab71 Split Sample.{get,put} into {get,put}_{scalar,vector} 2021-07-14 10:50:54 -05:00
0a399deeee Implement Hdf5Sample 2021-07-14 09:56:25 -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
ed77d548aa Remove unused function 2021-07-14 08:16:49 -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
7c4c301611 Extract instance, var and constr features into sample 2021-07-01 11:06:36 -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
8118ab4110 Remove EnforceOverrides 2021-06-29 09:05:14 -05:00
438859e493 Request variable features/categories in bulk 2021-06-29 09:02:46 -05:00
6969f2ffd2 Measure time extracting features 2021-06-29 07:52:04 -05:00
5b4b8adee5 LearningSolver: add extract_sa, extract_lhs arguments 2021-06-28 17:34:15 -05:00
101bd94a5b Make read/write_pickle_gz quiet 2021-06-28 10:17:41 -05:00
46a7d3fe26 BenchmarkRunner.fit: Only iterate through files twice 2021-06-28 09:32:30 -05:00
343afaeec0 Fix MyPy errors 2021-05-26 09:49:58 -05:00
4c7e63409d Improve logging 2021-05-26 09:01:40 -05:00
ddd136c661 assert_equals: Handle ndarray with booleans 2021-05-20 11:38:35 -05:00
52093eb1c0 Combine np.ndarray conversion with rounding 2021-05-20 11:18:17 -05:00
34c71796e1 assert_equals: Recursively convert np.ndarray 2021-05-20 11:06:58 -05:00
cdd38cdfb8 Make assert_equals work with np.ndarray 2021-05-20 10:41:38 -05:00