JuliaSmoothOptimizers / JuliaSmoothOptimizers/NLPModelsKnitro.jl

Existing options keys

Open
#138 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
12
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi @amontoison @tmigot @dpo!

I am working on [control-toolbox](https://github.com/control-toolbox) and I would handle options for the modelers and solvers quite nicely for the user. To do this, I need a way to get all the existing options keys we can pass when solving with Knitro.

```julia
solver = NLPModelsKnitro.KnitroSolver(nlp; options...)
NLPModelsKnitro.solve!(solver, nlp)
```

Is there a way to get the possible keys?

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start with the KnitroSolver constructor and solve! entry points shown in the issue, then trace how the options... arguments are handled. Compare the wrapper's available option handling with the KNITRO interface and define a way for users to discover valid option keys; done means the supported keys can be retrieved before solving.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.