Ksun46
March 6, 2020, 7:28pm
1
Hi all,
I am using Julia through Juno/Atom on a Mac, and got the following error today
I can run my code through the terminal through. I am not sure what’s going on here. Any suggestions? Thanks.
Let’s just use one topic for this. Given that you can run your code outside Juno, and given that there’s a known rogue segfault in Juno right now, let’s use that thread.
Hi all. I am using Julia through Juno on a Mac, and got the following error today when I was trying to call the optimize! function from JuMP
[Screen Shot 2020-03-06 at 2.22.21 PM]
using JuMP, Ipopt
m_test = Model(with_optimizer(Ipopt.Optimizer, linear_solver = "ma57"))
@variable(m_test, x[i in 1:10], lower_bound = 0.0, upper_bound = 1.0)
@constraint(m_test, sum(x) == 1.0)
@objective(m_test, Min, sum(i * x[i] for i in 1:10))
JuMP.optimize!(m_test)
I can run my code through the terminal though…