Commit Graph

159 Commits (8e61b7be5f789f66f94e284da9751615ef8bffb7)

Author SHA1 Message Date
Alinson S. Xavier 6e614264b5
StaticLazy: Refactor
5 years ago
Alinson S. Xavier 168f56c296
Fix typos
5 years ago
Alinson S. Xavier ea5c35fe18
Objective: Refactoring
5 years ago
Alinson S. Xavier 185b95118a
Objective: Rewrite sample_evaluate
5 years ago
Alinson S. Xavier 7af22bd16b
Refactor ObjectiveValueComponent
5 years ago
Alinson S. Xavier 0bce2051a8 Redesign component.evaluate
5 years ago
Alinson S. Xavier 0c687692f7 Make all before/solve callbacks receive same parameters
5 years ago
Alinson S. Xavier 8eb2b63a85 Primal: Refactor stats
5 years ago
Alinson S. Xavier ef556f94f0 Rename xy_sample to xy
5 years ago
Alinson S. Xavier bc8fe4dc98 Components: Switch from factory methods to prototype objects
5 years ago
Alinson S. Xavier b83911a91d Primal: Add end-to-end tests
5 years ago
Alinson S. Xavier db2f426140 Primal: reactivate before_solve_mip
5 years ago
Alinson S. Xavier fe7bad885c Make xy_sample receive features, not instances
5 years ago
Alinson S. Xavier 8fc9979b37 Use instance.features in LazyStatic and Objective
5 years ago
Alinson S. Xavier 0f5a6745a4 Primal: Refactoring
5 years ago
Alinson S. Xavier 4f46866921 Primal: Use instance.features
5 years ago
Alinson S. Xavier 12fca1f22b Extract all features ahead of time
5 years ago
Alinson S. Xavier b3c24814b0 Refactor PrimalSolutionComponent
5 years ago
Alinson S. Xavier ec69464794 Refactor primal
5 years ago
Alinson S. Xavier 1224613b1a Implement component.fit, component.fit_xy
5 years ago
Alinson S. Xavier 205a972937 Add StaticLazyComponent.xy
5 years ago
Alinson S. Xavier 07388d9490 Remove unused composite component
5 years ago
Alinson S. Xavier 64a63264c7 Rename xy to xy_sample
5 years ago
Alinson S. Xavier e8adeb28a3 Add ObjectiveValueComponent.xy
5 years ago
Alinson S. Xavier 9266743940 Add Component.xy and PrimalSolutionComponent.xy
5 years ago
Alinson S. Xavier 75d1eee424 DropRedundant: Make x_y parallel
5 years ago
Alinson S. Xavier 3b61a15ead Add after_solve_lp callback; make dict keys consistent
5 years ago
Alinson S. Xavier 6ae052c8d0 Rename before/after_solve to before/after_solve_mip
5 years ago
Alinson S. Xavier bca6581b0f DropRedundant: Clear pool before each solve
5 years ago
Alinson S. Xavier 31ca45036a Organize test fixtures; handle infeasibility in DropRedundant
5 years ago
Alinson S. Xavier 8153dfc825 DropRedundant: Update for new classifier interface
5 years ago
Alinson S. Xavier 9abcea05cd Objective: Use LP value as feature
5 years ago
Alinson S. Xavier 603902e608 Refactor ObjectiveComponent
5 years ago
Alinson S. Xavier edd0c8d750 Remove RelaxationComponent
5 years ago
Alinson S. Xavier a97089fc34 Primal: Add tolerance in binary check
5 years ago
Alinson S. Xavier 203afc6993 Primal: Compute statistics
5 years ago
Alinson S. Xavier b0b013dd0a Fix all tests
5 years ago
Alinson S. Xavier 3ab3bb3c1f Refactor PrimalSolutionComponent
5 years ago
Alinson S. Xavier f68cc5bd59 Refactor thresholds
5 years ago
Alinson S. Xavier f90d78f802 Move tests to separate folder
5 years ago
Alinson S. Xavier f755661fa6 Simplify BenchmarkRunner; update docs
5 years ago
Alinson S. Xavier c342a870d1 Minor fixes to docstrings; make some classes private
5 years ago
Alinson S. Xavier 7dbbfdc418 Minor fixes
5 years ago
Alinson S. Xavier d500294ebd Add more types to LearningSolver
5 years ago
Alinson S. Xavier fc0835e694 Add type annotations to components
5 years ago
Alinson S. Xavier 06402516e6 Move collected data to instance.training_data
5 years ago
Alinson S. Xavier 23dd311d75 Reorganize imports; start moving data to instance.training_data
5 years ago
Alinson S. Xavier a536d2ecc6 Fix various warnings
5 years ago
Alinson S. Xavier 34e1711081 Remove incorrect import
5 years ago
Alinson S. Xavier ffc77075f5 Require a callable as the internal solver
5 years ago
Alinson S. Xavier 088a4a0355
Fix formatting
5 years ago
Alinson S. Xavier 5a062ad97e
ConvertTight: Use x function from DropRedundant
5 years ago
Alinson S. Xavier 7e4b1d77a3
DropRedundant: Collect data from multiple runs
5 years ago
Alinson S. Xavier e12a896504
Add training_data argument to after_solve
5 years ago
Alinson S. Xavier beee252fa2
simulate_perfect: Do not overwrite original file
5 years ago
Alinson S. Xavier b01d97cc2b
ConvertTight: Always check feasibility
5 years ago
Alinson S. Xavier d67af4a26b
ConvertTight: Detect and fix sub-optimality
5 years ago
Alinson S. Xavier c9ad7a3f56
Benchmark: Add extra columns to CSV
5 years ago
Alinson S. Xavier f77d1d5de9
ConvertTight: Detect and fix infeasibility
5 years ago
Alinson S. Xavier 3f1aec7fad RelaxationComponent: Always use np arrays
5 years ago
Alinson S. Xavier 4057a65506 ConvertTightIneqs: Convert only inequalities, not equalities
5 years ago
Alinson S. Xavier 1e3d4482f4 ConvertTightIneqs: Reduce default slack_tolerance to zero
5 years ago
Alinson S. Xavier 317e16d471 ConvertTight: Don't take any action on constraints with negative slack
5 years ago
Alinson S. Xavier d8dc8471aa Implement tests for ConvertTightIneqsIntoEqsStep
5 years ago
Alinson S. Xavier 0377b5b546 Minor changes to docstrings
5 years ago
Alinson S. Xavier 191da25cfc Split relaxation.py into multiple files
5 years ago
Alinson S. Xavier 144ee668e9 Fix failing tests
5 years ago
Alinson S. Xavier 4a26de5ff1 RelaxationComponent: Convert tight inequalities into equalities
5 years ago
Alinson S. Xavier 8bb9996384 Break down RelaxationComponent into multiple steps
5 years ago
Alinson S. Xavier 6540c88cc5 Component: Add default implementations to all methods
5 years ago
Alinson S. Xavier 94b493ac4b Implement CompositeComponent
5 years ago
Alinson S. Xavier d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks
5 years ago
Alinson S. Xavier 3823931382 RelaxationComponent: max_iterations
5 years ago
Alinson S. Xavier 0b41c882ff Merge branch 'feature/files' into dev
5 years ago
Alinson S. Xavier 388b10c63c Train without loading all instances to memory
5 years ago
Alinson S. Xavier 54d80bfa85 RelaxationComponent: Implement check_dropped
5 years ago
Alinson S. Xavier 51b5d8e549 Component: rename iteration_cb and lazy_cb
5 years ago
Alinson S. Xavier 1b6982ae8d Implement RelaxationComponent
5 years ago
Alinson S. Xavier 3c4045f64b StaticLazy: Add tolerance to tests
5 years ago
Alinson S. Xavier 4144b8b6b3 Primal: In evaluate, skip variables without predictions
5 years ago
Alinson S. Xavier b51c367257 UserCutsComponent: ignore training instances without cut data
5 years ago
Alinson S. Xavier a221740ac5 Implement lazy callbacks & two-phase gap
5 years ago
Alinson S. Xavier ba96338d2d Small fixes to lazy constraints
5 years ago
Alinson S. Xavier e527e75481 Implement iteration_cb for LearningSolver; reactivate TSP
5 years ago
Alinson S. Xavier 5390a5b656 Rename LazyConstraintsComponent to DynamicLazyConstraintsComponent
5 years ago
Alinson S. Xavier 425ea2b7cc Temporarily remove native solver callbacks; add iteration_cb
5 years ago
Alinson S. Xavier e731f46b72 Implement preliminary version of static lazy component
5 years ago
Alinson S. Xavier 5ccd65c809 Remove empty tests
5 years ago
Alinson S. Xavier 6b104433be Improve logging
5 years ago
Alinson S. Xavier 5663ced0be Move python files to root folder; remove built docs
5 years ago
Alinson S. Xavier 7765d1f822
Reorganize directories
6 years ago
Alinson S. Xavier 72fc65cae0
LazyConstraintsComponent: make threshold configurable
6 years ago
Alinson S. Xavier 5eee00c626
Plot predicted objective value
6 years ago
Alinson S. Xavier 0b04fa93da
Finish TSP implementation; improve performance of Extractors
6 years ago
Alinson S. Xavier 959cb54d27
Remove load_state and save_state
6 years ago
Alinson S. Xavier 7a01d9cbcf
Implement TSP generator and LazyConstraintsComponent
6 years ago
Alinson S. Xavier 30e7d7313c Fix failing test
6 years ago
Alinson S. Xavier 996b16f1b7 Add missing files
6 years ago
Alinson S. Xavier a2fbb9f8d8 Implement PrimalSolutionComponent; remove deprecated predictors
6 years ago
Alinson S. Xavier ccd694af9b Implement ObjectiveValueComponent
6 years ago