Skip to content

Enhance stochastic interface#53

Merged
BatyLeo merged 6 commits intomainfrom
enhance-stochastic-interface
Mar 11, 2026
Merged

Enhance stochastic interface#53
BatyLeo merged 6 commits intomainfrom
enhance-stochastic-interface

Conversation

@BatyLeo
Copy link
Copy Markdown
Member

@BatyLeo BatyLeo commented Mar 4, 2026

Yet another rework of the interface, the goal is to accomodate more cases while keeping a simple and intuitive API:

  • generate_anticipative_solver as a callable factory
  • generate_parametric_anticipative_solver, optional method to solve a scenario with a perturbation in the objective. USeful to implement mirror descent algorithms.
  • new generate_instance method, called by a default implementation of generate_sample
  • Updated documentation: separeted into two pages, one for users that just want to use existing benchmarks, and one for users wanting to implement their own benchmark

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 56.45161% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Utils/interface.jl 52.94% 16 Missing ⚠️
...namicVehicleScheduling/DynamicVehicleScheduling.jl 54.54% 5 Missing ⚠️
src/DynamicVehicleScheduling/environment.jl 0.00% 4 Missing ⚠️
src/DynamicVehicleScheduling/scenario.jl 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/DecisionFocusedLearningBenchmarks.jl 100.00% <ø> (ø)
src/DynamicAssortment/DynamicAssortment.jl 100.00% <100.00%> (ø)
src/FixedSizeShortestPath/FixedSizeShortestPath.jl 94.00% <100.00%> (+0.12%) ⬆️
src/Maintenance/Maintenance.jl 100.00% <100.00%> (ø)
src/PortfolioOptimization/PortfolioOptimization.jl 91.89% <100.00%> (+0.22%) ⬆️
...icVehicleScheduling/StochasticVehicleScheduling.jl 100.00% <100.00%> (ø)
src/Utils/Utils.jl 100.00% <ø> (ø)
src/DynamicVehicleScheduling/scenario.jl 92.00% <0.00%> (ø)
src/DynamicVehicleScheduling/environment.jl 75.67% <0.00%> (-9.18%) ⬇️
...namicVehicleScheduling/DynamicVehicleScheduling.jl 81.48% <54.54%> (-18.52%) ⬇️
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@BatyLeo BatyLeo marked this pull request as ready for review March 11, 2026 15:45
@BatyLeo BatyLeo merged commit ebc0af1 into main Mar 11, 2026
3 of 4 checks passed
@BatyLeo BatyLeo deleted the enhance-stochastic-interface branch March 11, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant