You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm solving an optimization over time (1 year by hour, so 8759 runs of the model) by submitting it to a slurm, and during a given number of my timesteps (5001-6000), I get: Parallel mode: deterministic, using up to 32 threads for concurrent optimization. Row 'c1' infeasible, all entries at implied bounds. Presolve time = 11.16 sec. (3193.35 ticks) ERROR: LoadError: The model was not solved correctly.
I'm wondering if there is a simple way within JuMP to figure out what constraints or variables is causing the inability to solve the model (eg: what timestep, which of my 4 constraints)?
I've looked at the documentation and haven't found something that would specifically work in the context of slurm submissions, but might be mistaken.
The text was updated successfully, but these errors were encountered:
using JuMP
using Gurobi
using Test
model =direct_model(Gurobi.Optimizer())
@variable(model, x >=1)
@constraint(model, c, x <=0)
optimize!(model)
@testtermination_status(model) == MOI.INFEASIBLE
Gurobi.compute_conflict(backend(model))
MOI.get(model, Gurobi.ConstraintConflictStatus(), c)
MOI.get(model, Gurobi.ConstraintConflictStatus(), LowerBoundRef(x))
Hi,
I'm solving an optimization over time (1 year by hour, so 8759 runs of the model) by submitting it to a slurm, and during a given number of my timesteps (5001-6000), I get:
Parallel mode: deterministic, using up to 32 threads for concurrent optimization. Row 'c1' infeasible, all entries at implied bounds. Presolve time = 11.16 sec. (3193.35 ticks) ERROR: LoadError: The model was not solved correctly.
I'm wondering if there is a simple way within JuMP to figure out what constraints or variables is causing the inability to solve the model (eg: what timestep, which of my 4 constraints)?
I've looked at the documentation and haven't found something that would specifically work in the context of slurm submissions, but might be mistaken.
The text was updated successfully, but these errors were encountered: