Hypatia.jl icon indicating copy to clipboard operation
Hypatia.jl copied to clipboard

Change a+im*b to complex(a,b)

Open araujoms opened this issue 10 months ago • 5 comments

This undoes the hack I had done in #831, thanks to jump-dev/JuMP.jl#3734.

araujoms avatar Apr 18 '24 13:04 araujoms

Yeah the examples won't run until the next version of JuMP is released, perhaps it's better to wait for that before merging this PR.

araujoms avatar Apr 18 '24 13:04 araujoms

You must also change the lower bound of JuMP in any Project.tomls

odow avatar Apr 18 '24 20:04 odow

That's not possible, JuMP is not a dependency of Hypatia, it's only used in the examples.

araujoms avatar Apr 18 '24 20:04 araujoms

Then a separate issue is https://github.com/jump-dev/Hypatia.jl/blob/master/examples/Project.toml is missing a [compat] section.

odow avatar Apr 18 '24 23:04 odow

Oh, thanks for finding it! I'll add the necessary [compat] then when we have the new version of JuMP.

araujoms avatar Apr 19 '24 07:04 araujoms

Now with JuMP 1.22 it's working. Could you also tag a new Hypatia release?

araujoms avatar May 13 '24 07:05 araujoms