Commit Graph

167 Commits (ed58242b5c9da70cfc7dd0a0b91b4f8cbb259fe2)

Author SHA1 Message Date
Alinson S. Xavier ed58242b5c
Remove most usages of put_{vector,vector_list}; deprecate get_set
4 years ago
Alinson S. Xavier 60b9a6775f Use NumPy to compute AlvLouWeh2017 features
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 47d3011808
Use np.ndarray in instance features
4 years ago
Alinson S. Xavier 63eff336e2
Implement sample.{get,put}_sparse
4 years ago
Alinson S. Xavier 5b54153a3a
Use np in Constraints.lazy; replace some get_vector
4 years ago
Alinson S. Xavier f809dd7de4
Use np.ndarray in Constraints.{basis_status,senses}
4 years ago
Alinson S. Xavier 9ddda7e1e2
Use np.ndarray for constraint names
4 years ago
Alinson S. Xavier 45667ac2e4
Use np.ndarray for var_types, basis_status
4 years ago
Alinson S. Xavier 7d55d6f34c
Use np.array for Variables.names
4 years ago
Alinson S. Xavier f69067aafd
Implement {get,put}_array; make other methods deprecated
4 years ago
Alinson S. Xavier 0a32586bf8
Use np.ndarray in Constraints
4 years ago
Alinson S. Xavier 0c4b0ea81a
Use np.ndarray in Variables
4 years ago
Alinson S. Xavier b6426462a1
Fix failing tests
4 years ago
Alinson S. Xavier 475fe3d985 Sample: do not check data by default; minor fixes
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 7d5ec1344a
Make Hdf5Sample work with bytearray
4 years ago
Alinson S. Xavier fc55a077f2
Sample: Allow numpy arrays
4 years ago
Alinson S. Xavier d30c3232e6
FileInstance.save: create file when it does not already exist
4 years ago
Alinson S. Xavier 15e08f6c36
Implement FileInstance
4 years ago
Alinson S. Xavier f1dc450cbf
Do nothing on put_scalar(None)
4 years ago
Alinson S. Xavier 6c98986675
Hdf5Sample: Return None for non-existing keys
4 years ago
Alinson S. Xavier a0f8bf15d6
Handle completely empty veclists
4 years ago
Alinson S. Xavier 3da8d532a8
Sample: handle None in vectors
4 years ago
Alinson S. Xavier 284ba15db6
Implement sample.{get,put}_bytes
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 8d89285cb9
Implement {get,put}_vector_list
4 years ago
Alinson S. Xavier 8fc7c6ab71
Split Sample.{get,put} into {get,put}_{scalar,vector}
4 years ago
Alinson S. Xavier 0a399deeee
Implement Hdf5Sample
4 years ago
Alinson S. Xavier 021a71f60c
Reorganize feature tests; add basic sample tests
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 7c4c301611
Extract instance, var and constr features into sample
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 438859e493
Request variable features/categories in bulk
4 years ago
Alinson S. Xavier 46a7d3fe26
BenchmarkRunner.fit: Only iterate through files twice
4 years ago
Alinson S. Xavier ddd136c661
assert_equals: Handle ndarray with booleans
4 years ago
Alinson S. Xavier 52093eb1c0
Combine np.ndarray conversion with rounding
4 years ago
Alinson S. Xavier 34c71796e1
assert_equals: Recursively convert np.ndarray
4 years ago