JuliaSmoothOptimizers / JuliaSmoothOptimizers/NLPModelsJuMP.jl

Add lencheck

Open
#188 0 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue
Dominant language
Julia
Stars
40
Forks
11
Avg merge
1d 4h
Merged PRs (30d)
2

Description

This will help detect bugs in the NLPModel API
```
function NLPModels.cons_nln!(nlp::MathOptNLPModel, x::AbstractVector, c::AbstractVector)
@lencheck nlp.meta.nvar x
@lencheck nlp.meta.nnln c
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.