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
Dear Johan,I read your other answers, so I try to solve it. Some constraints are modified and explicit boundaries are added, and solved the original problem. But there are still some problems unsolved. I tried to use gurobi_iis to find the formula that went wrong, but I have no clue. Please help me again. This is the result of operation.
Set parameter Username
Set parameter IntFeasTol to value 1e-06
Set parameter ScaleFlag to value 1
Set parameter BarIterLimit to value 2000000000
Set parameter CrossoverBasis to value 0
Set parameter MinRelNodes to value 0
Set parameter NodeMethod to value 1
Set parameter PumpPasses to value 0
Set parameter ZeroObjNodes to value 0
Set parameter AggFill to value 10
Set parameter PreSparsify to value 0
Set parameter TuneTrials to value 2
Academic license - for non-commercial use only - expires 2022-06-11
Gurobi Optimizer version 9.5.1 build v9.5.1rc2 (win64)
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Optimize a model with 6940 rows, 1140 columns and 13591 nonzeros
Model fingerprint: 0x49adfbe9
Variable types: 888 continuous, 252 integer (252 binary)
Coefficient statistics:
Matrix range [8e-02, 3e+03]
Objective range [1e+00, 1e+00]
Bounds range [1e+00, 1e+00]
RHS range [1e+00, 3e+03]
Presolve time: 0.02s
Explored 0 nodes (0 simplex iterations) in 0.09 seconds (0.00 work units)
Thread count was 1 (of 4 available processors)
Solution count 0
Model is infeasible or unbounded
Best objective -, best bound -, gap -
时间已过 16.140629 秒。
Set parameter Username
Academic license - for non-commercial use only - expires 2022-06-11
IIS computed: 1 constraints, 0 bounds
IIS runtime: 0.11 seconds (0.00 work units)
Thank you for your answer. How did you determine that my program is not feasible? The result I obtained using sol = optimize(C,Objective);if sol.problem==0;display('Feasible');else;display('Infeasible');end is feasible.
Gurobi said it was infeasible or unbounded. Hence remove the objective to check if it still complains (thus about feasibility) or not (i.e. it was unbounded)
What do you mean with what to do. The solver is working, now you just have to wait until in completes, which might take a second/ hour/day/month/year/eons https://yalmip.github.io/slowmilp
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear Johan,I read your other answers, so I try to solve it. Some constraints are modified and explicit boundaries are added, and solved the original problem. But there are still some problems unsolved. I tried to use gurobi_iis to find the formula that went wrong, but I have no clue. Please help me again. This is the result of operation.
Beta Was this translation helpful? Give feedback.
All reactions