[Dip] Alternative solver for subproblems
Jonas Christoffer Villumsen
jcvi at man.dtu.dk
Mon Jan 3 11:06:51 EST 2011
I managed to run with CPLEX. Due to my programming ignorance, I had set the preprocessor definitions in the MSVS project defining the problem - not in the libDecomp project. Changing the preprocessor definitions in the libDecomp project to:
__DECOMP_LP_CPX__
__DECOMP_IP_CPX__
And setting the cplex include dir, it successfully ran cplex. I guess that makes sense...
Thanks for all of your help. I appreciate your effort.
Best regards,
Jonas
From: Matthew Galati [mailto:matthew.galati at gmail.com]
Sent: 31. december 2010 17:43
To: Jonas Christoffer Villumsen
Cc: Shahin Gelareh; dip at list.coin-or.org
Subject: Re: [Dip] Dip Digest, Vol 8, Issue 9
Run (1) is definitely using CBC.
And the exception message explains the issue. Core range constraints are not supported. I actually don't recall exactly why they are not supported and I can probably fix that. But, for the time being, just split up your range constraints into two constraints (<= and >=) and it should work fine.
"COIN Exception [ Range constraints are not yet supported. Please break up your range constraints into two constraints. ] at ..\..\..\..\src\DecompAlgo.cpp:L1170 in DecompAlgo::masterMatrixAddArtCols"
I added a ticket to remind me to fix that: https://projects.coin-or.org/Dip/ticket/61
Run (2) looks fine, although it is using CLP and CBC.
Send me your MSVS project (and solution) file and see if I can figure it out. Unfortunately, I don't have access to a windows cplex license - so I am not sure how to test this.
Thanks,
Matt
On Thu, Dec 30, 2010 at 6:41 PM, Jonas Christoffer Villumsen <jcvi at man.dtu.dk<mailto:jcvi at man.dtu.dk>> wrote:
Logs for for first and second run attached. Thank you for your assistance.
firstrun.txt 1) has
__DECOMP_LP_CPX__
__DECOMP_IP_CPX__
secondrun.txt 2) has
__DECOMP_LP_CLP__
__DECOMP_IP_CPX__
From: Matthew Galati [mailto:matthew.galati at gmail.com<mailto:matthew.galati at gmail.com>]
Sent: 30. december 2010 03:33
To: Jonas Christoffer Villumsen
Cc: Shahin Gelareh; dip at list.coin-or.org<mailto:dip at list.coin-or.org>
Subject: Re: [Dip] Dip Digest, Vol 8, Issue 9
I have tried different settings
1)
__DECOMP_LP_CPX__
__DECOMP_IP_CPX__
Gives a range constraint error.
Can you post the error log?
COIN Exception [ Range constraints are not yet supported. Please break up your range constraints into two constraints. ] at ..\..\..\..\src\DecompAlgo.cpp:L1170 in DecompAlgo:
:masterMatrixAddArtCols
2)
__DECOMP_LP_CLP__
__DECOMP_IP_CPX__
No error.
In either case, however, It doesn't seem to be using CPLEX.
Turn up the log levels and post the log (or just send it to me directly).
In the parameter file, use
[DECOMP]
LogLpLevel = 1
LogDebugLevel = 3
LogLevel = 3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/dip/attachments/20110103/0db86307/attachment.html
More information about the Dip
mailing list