Oscar Dowson

Results 1421 comments of Oscar Dowson

We now wrap `CPXpopulate(model.env, model.lp)`, but there is still no nice way of accessing multiple solutions via MOI. Ideally, we would have something like the following: ```Julia model = CPLEX.Optimizer()...

@jd-foster worked out the details here: https://github.com/jump-dev/jump-dev.github.io/pull/58. It just needs implementing at the MOI level. PRs accepted.

Looks like you need `set_optimizer_attribute(m, "max_wall_time", 1.0)`. Ipopt uses different methods to set options, so we rely on the type passed by the user to infer which method to call....

> The Ipopt docs say it must be an int Where? > Also, set_time_limit_sec(m, 20.0) doesn't work and doesn't give an error It sets the `max_cpu_time` attribute, because when the...

My experience is to generally be against hacks like the `try-catch`, because it leads to small incompatibilities between Ipopt via MOI and Ipopt the C library. If you're using Ipopt,...

> Is the issue due to M1 Arch Did you download a specific version of CPLEX compiled for M1? A generic Mac install will not work. Given 12.10 and 20.1...

The Julia 1.6 macOS install uses Rosetta on M1. You can also install this version of Julia for 1.7: https://julialang.org/downloads/. I think the problem is installing CPLEX on ARM.

Note that CPLEX runs fine on Julia 1.7, https://github.com/jump-dev/CPLEX.jl/pull/385, so this must be some M1-specific problem. Are you sure you installed both Julia and CPLEX for Rosetta and not ARM?

To clarify, does > Julia has exited. > Press Enter to start a new session. mean that Julia quit? Is there anything else that gets printed? If so, that looks...