Skip to content

Try to fix the performances of the split API#538

Draft
amontoison wants to merge 1 commit intoam/sparsefrom
am/split_api
Draft

Try to fix the performances of the split API#538
amontoison wants to merge 1 commit intoam/sparsefrom
am/split_api

Conversation

@amontoison
Copy link
Member

@amontoison amontoison commented Feb 4, 2026

close #511, #516, #384

I would like to check if many packages are broken with these modifications in JSO.
It is already a few months that we have issues with performances because of the linear / nonlinear API.
For a long time we only supported the "normal" API, I still think that it should be the base API that the user should implement.
I suggest to only implement linear / nonlinear API as optional routines.

The only optimization solver that can exploit the split API is KNITRO and it is quite hard to exploit it in other solvers, like Ipopt, MadNLP or Uno.
To the best of my knowledge, we also don't exploit it in optimization solvers implemented in JSO packages (except if we call KNITRO).

Update: Argh, almost all packages are impacted...

@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 amontoison marked this pull request as draft February 4, 2026 03:28
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