JuliaControl / JuliaControl/ControlSystems.jl
`hinfnorm` needs tweaking
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 582
- Forks
- 92
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 2
Description
hinfnorm fails occasionally and it would be nice to come up with better default values for the tolerances etc.
success = map(1:10000) do i
G = ssrand(1,1,4)
try
hinfnorm(G)
true
catch
@show poles(G), tzeros(G)
false
end
end
mean(success)
it fails in about 0.5% of these random cases, which is a bit much to rely on in CI etc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the hinfnorm entry point and run the provided Julia reproduction with repeated ssrand(1,1,4) systems. Investigate the occasional failures and tolerance defaults, then verify that the reproduction no longer fails at the reported rate.
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
- Mostly clear
- Newbie friendliness
- 35/100