Closed persiflex closed 4 years ago
I updated the documentation for the GlobalStrategy error
(see #258).
Thanks! I updated the problem file accordingly and tested on the current master but the bug remains:( test_problem_vs1.txt
Thanks! I updated the problem file accordingly and tested on the current master but the bug remains:( test_problem_vs1.txt
Yes, I think the bug is in the colgen algorithm
Artifical/setup variables have a too small cost... So it costs less to keep the artificial variable in the solution instead of using a column and ColGen concludes that the problem is infeasible.
Hi !
You have to define a primal bound on your objective function :
objectiveprimalbound!(model, 1000000.0)
Thanks a lot for fixing this!
Describe the bug I found the following issue: Depending on the values of some input parameters, Coluna is able to either find the same value as plain JuMP or not.
To Reproduce This test model is about the minimization of investment costs of machines: test_problem_vs1.txt When "decompose" is true (l. 10f.) and the first provided values for cost are taken (l. 83ff.), Coluna does not find the solution. When "decompose" is false (i.e. plain JuMP used) or the second pair of cost values is taken, the model can be solved.
Expected behavior Coluna should solve the problem for any value, as JuMP does. Not sure if it's related but the log returns after already the first iteration "CG Algo has converged" while I find it's usually at least two iterations. Also mlp, db and pb have all different values:
Section ncalls time %tot avg alloc %tot avg ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Coluna 1 18.4s 100% 18.4s 653MiB 100% 653MiB Coluna.Algorithm.ColumnGeneration(1000, 1.0e-5, 1) 1 12.6s 68.4% 12.6s 426MiB 65.3% 426MiB run 1 12.6s 68.4% 12.6s 426MiB 65.3% 426MiB LP restricted master 2 6.90s 37.5% 3.45s 274MiB 42.0% 137MiB Pricing subproblem 20 2.15s 11.7% 108ms 54.6MiB 8.36% 2.73MiB prepare 1 1.37μs 0.00% 1.37μs 0.00B 0.00% 0.00B ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── [ LogLevel(1): Terminated [ LogLevel(1): Primal bound: Inf [ LogLevel(1): Dual bound: -Inf
Environment (please complete the following information):
ATTENTION: For testing this I used the second-to-last commit of Coluna master, since the latest returns "ERROR: LoadError: UndefVarError: GlobalStrategy not defined"