Thanks David and JP. It seems that all the problems are feasible, but
the duals get "stuck" after the 5th iteration.
Iteration 4 (Correct)
Variables : 7
Objective nonzeros : 3
Linear constraints : 10 [Less: 6, Equal: 4]
Nonzeros : 19
RHS nonzeros : 7
Variables : Min LB: 0.000000 Max UB: all
infinite
Objective nonzeros : Min : 4.000000 Max :
24.00000
Linear constraints :
Nonzeros : Min : 0.5000000 Max :
8.000000
RHS nonzeros : Min : 1.000000 Max :
10000.00
CPLEX> Tried aggregator 1 time.
LP Presolve eliminated 10 rows and 7 columns.
All rows and columns eliminated.
Presolve time = 0.00 sec.
Dual simplex - Optimal: Objective = -6.2600000000e+03
Solution time = 0.00 sec. Iterations = 0 (0)
Deterministic time = 0.01 ticks (7.66 ticks/sec)
duals= None
X[Finishing]= 10000.0
duals= None
X[Lumber]= 10000.0
duals= None
X[Carpentry]= 10000.0
#################################################################################
Iteration 5 (Correct)
duals= None
X[Finishing]= 0.0
duals= None
X[Lumber]= 0.0
duals= -12.0
X[Carpentry]= 0.0
Variables : 7
Objective nonzeros : 3
Linear constraints : 10 [Less: 6, Equal: 4]
Nonzeros : 19
RHS nonzeros : 4
Variables : Min LB: 0.000000 Max UB: all
infinite
Objective nonzeros : Min : 4.000000 Max :
24.00000
Linear constraints :
Nonzeros : Min : 0.5000000 Max :
8.000000
RHS nonzeros : Min : 1.000000 Max :
225.0000
CPLEX> Tried aggregator 1 time.
LP Presolve eliminated 10 rows and 7 columns.
All rows and columns eliminated.
Presolve time = 0.00 sec.
Dual simplex - Optimal: Objective = 0.0000000000e+00
Solution time = 0.00 sec. Iterations = 0 (0)
Deterministic time = 0.01 ticks (7.54 ticks/sec)
#################################################################################
Iterations >= 6 (Incorrect!)
duals= None
X[Finishing]= 10000.0
duals= None
X[Lumber]= 10000.0
duals= -12.0 (this dual should be zero, just like in iteration 4!)
X[Carpentry]= 10000.0
Variables : 7
Objective nonzeros : 3
Linear constraints : 10 [Less: 6, Equal: 4]
Nonzeros : 19
RHS nonzeros : 7
Variables : Min LB: 0.000000 Max UB: all
infinite
Objective nonzeros : Min : 4.000000 Max :
24.00000
Linear constraints :
Nonzeros : Min : 0.5000000 Max :
8.000000
RHS nonzeros : Min : 1.000000 Max :
10000.00
CPLEX> Tried aggregator 1 time.
LP Presolve eliminated 10 rows and 7 columns.
All rows and columns eliminated.
Presolve time = 0.00 sec.
Dual simplex - Optimal: Objective = -6.2600000000e+03
Solution time = 0.00 sec. Iterations = 0 (0)
Deterministic time = 0.01 ticks (7.66 ticks/sec)
Should I reset something between iterations? I could not warm start
the solver then though...
Pancho
On May 14, 5:58 pm, "Watson, Jean-paul" <
jwat...@sandia.gov> wrote:
> The "solve_all_instances" was a quick+dirty routine I introduced a while
> back, to basically implement a barrier synchronization after a bunch of
> sub-problem solves. The function signature and return value can and should
> be improved (see another e-mail from me in this thread, sent a few minutes
> ago).
>
> jpw
>