JuliaSmoothOptimizers / JuliaSmoothOptimizers/AmplNLReader.jl
Properly catch hard crash
Open
enhancement
- Dominant language
- Julia
- Stars
- 21
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
We crash hard when AMPL generates an error while evaluating the objective, e.g., when it emits
```
Error evaluating objective function: can't evaluate pow"(0,1.5).
```
Apparently, we don't properly catch such errors.
Contributor guide
Research direction
Start by reproducing the crash with the AMPL objective error shown in the issue, then trace the package's error-handling entry point for objective evaluation. Done means the AMPL error is caught and reported without a hard crash; no source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100