Skip to content

Batch API#540

Open
amontoison wants to merge 32 commits intomainfrom
am/batch_api
Open

Batch API#540
amontoison wants to merge 32 commits intomainfrom
am/batch_api

Conversation

@amontoison
Copy link
Member

@klamike klamike mentioned this pull request Feb 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Package name latest stable
ADNLPModels
AdaptiveRegularization
AmplNLReader
BundleAdjustmentModels
CUTEst
CaNNOLeS
DCISolver
FletcherPenaltySolver
FluxNLPModels
JSOSolvers
JSOSuite
LLSModels
ManualNLPModels
NLPModelsIpopt
NLPModelsJuMP
NLPModelsKnitro
NLPModelsModifiers
NLPModelsTest
NLSProblems
PDENLPModels
PartiallySeparableNLPModels
PartiallySeparableSolvers
Percival
QuadraticModels
RegularizedOptimization
RegularizedProblems
SolverBenchmark
SolverTest
SolverTools

@amontoison
Copy link
Member Author

Michael, I finished what I wanted.
You can do a pass on the tests when you have time.

@klamike
Copy link
Collaborator

klamike commented Feb 5, 2026

@amontoison probably this is why the VI is not in the regular meta: klamike@c54ded6 we can't infer it.

@klamike
Copy link
Collaborator

klamike commented Feb 5, 2026

A more realistic example, batched QuadraticModel where we vary only the RHS: JuliaSmoothOptimizers/QuadraticModels.jl@main...klamike:QuadraticModels.jl:mk/rhsbatch

@amontoison
Copy link
Member Author

Amazing Michael!

@amontoison
Copy link
Member Author

Should we hardcode VI = Vector{Float64} like in the non-batch case?
Did this API is what we need in MadIPM.jl or should we adjust a few things?

@klamike
Copy link
Collaborator

klamike commented Feb 5, 2026

Should we hardcode VI = Vector{Float64} like in the non-batch case?

I think so, yes, to be consistent with the regular API. Both can be updated at the same time later (maybe only in 0.22)

Did this API is what we need in MadIPM.jl or should we adjust a few things?

We probably want to define some more meta functions like get_nvar, get_x0.. I'll try to integrate the batch API into the MadIPM UniformBatch over the few days and get back

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.

2 participants