jump-dev / jump-dev/PolyJuMP.jl
Support JuMP.GenericModel
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 46
- Forks
- 10
- Avg merge
- 4h 13m
- Merged PRs (30d)
- 1
Description
Right now PolyJuMP only seems to support Float64 Models:
using MultiFloats, JuMP, PolyJuMP, SumOfSquares
m = GenericModel{Float64x2}()
setpolymodule!(m, SumOfSquares)
Gives
ERROR: MethodError: no method matching setpolymodule!(::GenericModel{MultiFloat{Float64, 2}}, ::Module)
This package is quite convenient to use! But my instances are often numerically quite unstable, and require higher precision solvers.
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the Julia snippet and tracing setpolymodule! dispatch for GenericModel{Float64x2}. The work is done when PolyJuMP accepts a GenericModel with a higher-precision coefficient type and the reported example runs without the MethodError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100