<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body style="background-color: rgb(255, 255, 255); color: rgb(0, 0,
0);" bgcolor="#FFFFFF" text="#000000">
ok, I went to another computer and it is 11 seconds.<br>
<br>
rodf@eccocrr12:~$ vi *.mps<br>
5 files to edit<br>
rodf@eccocrr12:~$ cat reflex2014.ini<br>
fuelregion GAS 1.00<br>
stepstorun 30<br>
skipnetwork<br>
casedb casedb<br>
usecplex<br>
database_type mysql<br>
dbsid reflex84 <br>
dbuser user1 <br>
dbpassword cisco<br>
dbport 3306<br>
dbhost localhost<br>
efdplusPenalty 40000.0<br>
efdminusPenalty 115.0<br>
unservedPenalty 40000.0<br>
overgenPenalty 10000.0<br>
curtailmentPenalty 115.0<br>
drPrice 0.0<br>
drPMax 0.0<br>
drELim 0.0<br>
unitstack ioustackpgectunit<br>
<br>
rodf@eccocrr12:~$ cat reflex2014.ini<br>
fuelregion GAS 1.00<br>
stepstorun 30<br>
skipnetwork<br>
casedb casedb<br>
usecplex<br>
database_type mysql<br>
dbsid reflex84 <br>
dbuser user1 <br>
dbpassword cisco<br>
dbport 3306<br>
dbhost localhost<br>
efdplusPenalty 40000.0<br>
efdminusPenalty 115.0<br>
unservedPenalty 40000.0<br>
overgenPenalty 10000.0<br>
curtailmentPenalty 115.0<br>
drPrice 0.0<br>
drPMax 0.0<br>
drELim 0.0<br>
unitstack ioustack2022ct0425<br>
<br>
rodf@eccocrr12:~$ top<br>
<br>
top - 12:46:07 up 44 days, 2:08, 5 users, load average: 0.22,
0.17, 0.14<br>
Tasks: 175 total, 2 running, 173 sleeping, 0 stopped, 0 zombie<br>
Cpu(s): 1.2%us, 0.4%sy, 0.0%ni, 98.4%id, 0.0%wa, 0.0%hi,
0.0%si, 0.0%st<br>
Mem: 16350428k total, 10988412k used, 5362016k free, 184284k
buffers<br>
Swap: 25074904k total, 160k used, 25074744k free, 8285760k
cached<br>
<br>
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND <br>
1052 root 20 0 164m 20m 9544 S 4 0.1 916:12.70
Xorg <br>
25924 rodf 20 0 1014m 173m 41m S 4 1.1 1473:36
firefox <br>
1545 rodf 20 0 466m 18m 12m S 2 0.1 167:36.82
vino-server <br>
1529 rodf 20 0 580m 29m 14m S 1 0.2 4:41.74
gnome-panel <br>
3794 rodf 20 0 1576m 1.1g 11m S 1 6.8 197:05.34
gnome-terminal <br>
1357 rodf 20 0 733m 18m 12m S 0 0.1 6:11.64
gnome-settings- <br>
1503 rodf 20 0 309m 24m 12m S 0 0.2 106:03.02
compiz <br>
4070 rodf 20 0 2358m 81m 39m S 0 0.5 94:04.53
mysql-workbench <br>
1 root 20 0 24572 2508 1352 S 0 0.0 0:01.50
init <br>
2 root 20 0 0 0 0 S 0 0.0 0:00.00
kthreadd <br>
3 root 20 0 0 0 0 S 0 0.0 0:17.74
ksoftirqd/0 <br>
6 root RT 0 0 0 0 S 0 0.0 0:00.79
migration/0 <br>
7 root RT 0 0 0 0 S 0 0.0 0:10.12
watchdog/0 <br>
8 root RT 0 0 0 0 S 0 0.0 0:00.46
migration/1 <br>
9 root 20 0 0 0 0 S 0 0.0 9:43.36
kworker/1:0 <br>
rodf@eccocrr12:~$ pwd<br>
/home/rodf<br>
rodf@eccocrr12:~$ ls *.lp<br>
dump-5-20121111.lp<br>
rodf@eccocrr12:~$ ./cplex<br>
IBM ILOG License Manager: "- Site Replacement Keys 3.2" is accessing
CPLEX 12 with option(s): "b e m p=MAX q".<br>
<br>
IBM ILOG CPLEX Optimization Studio Academic Research Edition<br>
Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer 12.4.0.0<br>
with Simplex, Mixed Integer & Barrier Optimizers<br>
5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55<br>
Copyright IBM Corp. 1988, 2011. All Rights Reserved.<br>
<br>
Type 'help' for a list of available commands.<br>
Type 'help' followed by a command name for more<br>
information on commands.<br>
<br>
CPLEX> r dump-5-20121111.lp<br>
Warning, line 33970: Name 'tolerance_0' does not exist.<br>
Warning, line 33971: Name 'tolerance_0' does not exist.<br>
Warning, line 33972: Name 'tolerance_1' does not exist.<br>
Warning, line 33973: Name 'tolerance_1' does not exist.<br>
Warning, line 33986: Name 'tolerance_4' does not exist.<br>
Warning, line 33987: Name 'tolerance_4' does not exist.<br>
Warning, line 33988: Name 'tolerance_5' does not exist.<br>
Warning, line 33989: Name 'tolerance_5' does not exist.<br>
Warning, line 33996: Name 'tolerance_7' does not exist.<br>
Warning, line 33997: Name 'tolerance_7' does not exist.<br>
Warning, line 36312: Name 'tolerance_0' does not exist.<br>
Warning, line 36312: Name 'tolerance_1' does not exist.<br>
Warning, line 36313: Name 'tolerance_4' does not exist.<br>
Warning, line 36313: Name 'tolerance_5' does not exist.<br>
Warning, line 36314: Name 'tolerance_7' does not exist.<br>
Problem 'dump-5-20121111.lp' read.<br>
Read time = 0.07 sec.<br>
CPLEX> o<br>
Tried aggregator 2 times.<br>
MIP Presolve eliminated 367 rows and 2385 columns.<br>
Aggregator did 5 substitutions.<br>
Reduced MIP has 3344 rows, 20712 columns, and 69531 nonzeros.<br>
Reduced MIP has 20708 binaries, 4 generals, 0 SOSs, and 0
indicators.<br>
Presolve time = 0.06 sec.<br>
Probing time = 0.02 sec.<br>
Clique table members: 52134.<br>
MIP emphasis: balance optimality and feasibility.<br>
MIP search method: dynamic search.<br>
Parallel mode: deterministic, using up to 8 threads.<br>
Root relaxation solution time = 0.34 sec.<br>
<br>
Nodes Cuts/<br>
Node Left Objective IInf Best Integer Best Bound
ItCnt Gap<br>
<br>
0 0 0.0000 1311 0.0000
11 <br>
0 2 0.0000 7 0.0000
11 <br>
Elapsed real time = 2.85 sec. (tree size = 0.01 MB, solutions =
0)<br>
10 10 infeasible 0.0000
2624 <br>
21 19 infeasible 0.0000
7126 <br>
28 22 0.6667 29 0.0000
12124 <br>
48 34 infeasible 0.0000
38807 <br>
54 35 0.6667 75 0.0000
56192 <br>
63 36 infeasible 0.0000
70582 <br>
* 70 41 integral 0 3.0000 0.0000
77046 100.00%<br>
78 39 cutoff 3.0000 0.0000
87335 100.00%<br>
88 37 infeasible 3.0000 0.0000
94912 100.00%<br>
128 25 0.0000 6 3.0000 0.0000
141729 100.00%<br>
Elapsed real time = 10.93 sec. (tree size = 0.02 MB, solutions =
1)<br>
<br>
Root node processing (before b&c):<br>
Real time = 2.58<br>
Parallel b&c, 8 threads:<br>
Real time = 8.76<br>
Sync time (average) = 0.01<br>
Wait time (average) = 0.00<br>
-------<br>
Total (root+branch&cut) = 11.34 sec.<br>
<br>
Solution pool: 1 solution saved.<br>
<br>
MIP - Integer optimal solution: Objective = 3.0000000000e+00<br>
Solution time = 11.46 sec. Iterations = 189264 Nodes = 172<br>
Deterministic time = 8680.56 ticks (757.39 ticks/sec)<br>
<br>
CPLEX> <br>
<br>
<div class="moz-cite-prefix">On 19/05/2014 10:48 AM, Karl St-Cyr
wrote:<br>
</div>
<blockquote
cite="mid:CAG2u=038afM-bYZYL3V=A_V+6s6FW=xw5e2FQOxRyvqqfFyK7w@mail.gmail.com"
type="cite">
<div dir="ltr">
<p style="margin-bottom:0cm">The problem is not the feasibility
of
the problem but the time it takes to solve it. 130 sec is way
above
what I would consider acceptable for the implementation I want
to do.
As I stated before, a problem may be comprised of 300+ of
these
dumps. Most of them will be solved in a fraction of a second,
but if
every complex ones take 130 sec I will not be able to use this
implementation and will be forced revert to a simpler approach
to the
problem that gives me lesser results.</p>
<p style="margin-bottom:0cm"> I will keep looking for another
solution.<br>
</p>
<p style="margin-bottom:0cm"><br>
</p>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, May 17, 2014 at 1:22 AM, Rod
Frowd <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rod@frowd.net" target="_blank">rod@frowd.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div
style="background-color:rgb(255,255,255);color:rgb(0,0,0)"
bgcolor="#FFFFFF" text="#000000"> This problem seems to
solve ok with cplex:<br>
<br>
Microsoft Windows [Version 6.1.7601]<br>
Copyright (c) 2009 Microsoft Corporation. All rights
reserved.<br>
<br>
C:\Users\Rod Frowd>cd downloads<br>
<br>
C:\Users\Rod Frowd\Downloads>cplex<br>
<br>
Welcome to CPLEX Interactive Optimizer 12.1.0<br>
with Simplex, Mixed Integer & Barrier Optimizers<br>
5724-Y48 (c) Copyright IBM Corp. 1988, 2009. All Rights
Reserved.<br>
CPLEX is a registered trademark of IBM Corp.<br>
<br>
Type 'help' for a list of available commands.<br>
Type 'help' followed by a command name for more<br>
information on commands.<br>
<br>
<br>
CPLEX> r dump-5-20121111.lp<br>
Warning, line 33970: Name 'tolerance_0' does not exist.<br>
Warning, line 33971: Name 'tolerance_0' does not exist.<br>
Warning, line 33972: Name 'tolerance_1' does not exist.<br>
Warning, line 33973: Name 'tolerance_1' does not exist.<br>
Warning, line 33986: Name 'tolerance_4' does not exist.<br>
Warning, line 33987: Name 'tolerance_4' does not exist.<br>
Warning, line 33988: Name 'tolerance_5' does not exist.<br>
Warning, line 33989: Name 'tolerance_5' does not exist.<br>
Warning, line 33996: Name 'tolerance_7' does not exist.<br>
Warning, line 33997: Name 'tolerance_7' does not exist.<br>
Warning, line 36312: Name 'tolerance_0' does not exist.<br>
Warning, line 36312: Name 'tolerance_1' does not exist.<br>
Warning, line 36313: Name 'tolerance_4' does not exist.<br>
Warning, line 36313: Name 'tolerance_5' does not exist.<br>
Warning, line 36314: Name 'tolerance_7' does not exist.<br>
Problem 'dump-5-20121111.lp' read.<br>
Read time = 0.08 sec.<br>
CPLEX> o<br>
Tried aggregator 1 time.<br>
MIP Presolve eliminated 367 rows and 2385 columns.<br>
Aggregator did 5 substitutions.<br>
Reduced MIP has 3344 rows, 20712 columns, and 69531
nonzeros.<br>
Reduced MIP has 20708 binaries, 4 generals, 0 SOSs, and
0 indicators.<br>
Presolve time = 0.33 sec.<br>
Clique table members: 3322.<br>
MIP emphasis: balance optimality and feasibility.<br>
MIP search method: dynamic search.<br>
Parallel mode: deterministic, using up to 8 threads.<br>
Root relaxation solution time = 1.34 sec.<br>
<br>
Nodes
Cuts/<br>
Node Left Objective IInf Best Integer Best
Node ItCnt Gap<br>
<br>
0 0 0.0000 856
0.0000 4698<br>
0 0 0.0000 4
Fract: 2 4698<br>
0 0 0.0000 9
Cuts: 2 4702<br>
0 2 0.0000 9
0.0000 4702<br>
* 83 70 integral 0 5.0000
0.0000 58637 100.00%<br>
100 80 infeasible 5.0000
0.0000 66047 100.00%<br>
* 128 80 integral 0 3.0000
0.0000 89612 100.00%<br>
200 86 1.0000 4 3.0000
0.0000 126676 100.00%<br>
300 104 1.0000 4 3.0000
0.0000 176476 100.00%<br>
400 120 0.5000 59 3.0000
0.5000 225409 83.33%<br>
500 87 0.0000 33 3.0000
0.5000 284694 83.33%<br>
600 30 infeasible 3.0000
0.5000 345371 83.33%<br>
700 24 infeasible 3.0000
0.6667 409641 77.78%<br>
800 4 1.3333 100 3.0000
0.6667 439745 77.78%<br>
<br>
Zero-half cuts applied: 3<br>
Gomory fractional cuts applied: 5<br>
<br>
Root node processing (before b&c):<br>
Real time = 6.60<br>
Parallel b&c, 8 threads:<br>
Real time = 122.65<br>
Sync time (average) = 42.83<br>
Wait time (average) = 53.99<br>
-------<br>
Total (root+branch&cut) = 129.25 sec.<br>
<br>
Solution pool: 2 solutions saved.<br>
<br>
MIP - Integer optimal solution: Objective =
3.0000000000e+000<br>
Solution time = 129.65 sec. Iterations = 442232 Nodes
= 823<br>
<br>
CPLEX>
<div>
<div class="h5"><br>
<div>On 14/05/2014 5:14 AM, Karl St-Cyr wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<p style="margin-bottom:0cm"> <font
color="#222222"><font face="Times New Roman,
serif"><font size="3">Hello again,</font></font></font></p>
<p style="margin-bottom:0cm"> <br>
</p>
<p style="margin-bottom:0cm"> <font
color="#222222"><font face="Times New Roman,
serif"><font size="3">First of all, I
would like to thanks the mailing list
for the support. I realize I am quite
new to this and your support has made
the whole experience much more positive
and has pointed me in the right
direction.</font></font></font></p>
<p style="margin-bottom:0cm"> <br>
</p>
<p style="margin-bottom:0cm"><font
color="#222222"><font face="Times New Roman,
serif"><font size="3">I realized I had
some bugs in the creation of my linear
problem and I hopefully fixed them. Even
with the tips I got, the "new" problem
is unsolvable in a decent amount of
time. The linear problem take over 5 000
seconds to solve. I've read the
documentation and tried different
combination of arguments without any
luck. So, once again, I'm asking for
some help.</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"> <font
color="#222222"><font face="Times New Roman,
serif"><font size="3">Here is an instance
I have issues with.</font></font></font></p>
<p style="margin-bottom:0cm"> <br>
</p>
<p style="margin-bottom:0cm"><a
moz-do-not-send="true"
href="https://www.dropbox.com/sh/qh311l5gqt1mhcx/AABervHj6hcTmrIvyTFbsOxfa"
target="_blank"><font color="#1155cc"><font
face="Times New Roman, serif"><font
size="3">https://www.dropbox.com/sh/qh311l5gqt1mhcx/AABervHj6hcTmrIvyTFbsOxfa</font></font></font></a></p>
<p style="margin-bottom:0cm"><font face="Times
New Roman, serif"><font size="3"><br>
</font></font><br>
</p>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, May 8, 2014 at
8:39 AM, Karl St-Cyr <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:karl@patrikdufresne.com"
target="_blank">karl@patrikdufresne.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr"
style="font-family:arial,sans-serif;font-size:13px">
<p style="margin-bottom:0cm">Hi,</p>
<p style="margin-bottom:0cm"> I'm trying
to use CBC to solve my linear problem.
After implementing a version of BigM I
manage to find a better solution but
the time to solve it is a bit too high
for my needs. This is my first time
using CBC and I want to make sure I'm
not doing something wrong or missing a
way to speed it up.</p>
<p style="margin-bottom:0cm">You'll find
3 dump examples I have problems with
in the link bellow (take note that 1
problem can be composed of 300+ of
theses dumps and would need to execute
all of them in more or less 7 min,
some of the dumps are also taking
close to no time).</p>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr"><font face="arial,
sans-serif"><a
moz-do-not-send="true"
href="https://www.dropbox.com/sh/dff6h98qxhf7svy/AAC60y10SORx3b25P7bT2bAOa"
target="_blank">https://www.dropbox.com/sh/dff6h98qxhf7svy/AAC60y10SORx3b25P7bT2bAOa</a></font><br>
</div>
<div dir="ltr"><font face="arial,
sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Thank
you for your help</font></div>
<span><font color="#888888">
<div><font face="arial,
sans-serif">Karl</font></div>
<div dir="ltr"> <font
face="arial, sans-serif"><br>
</font></div>
</font></span></div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Karl St-Cyr
<div>Développeur logiciel<br>
</div>
<div>Patrik Dufresne Service Logiciel</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Cbc mailing list
<a moz-do-not-send="true" href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a>
<a moz-do-not-send="true" href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
<br>
<br>
<hr
style="border:none;color:rgb(144,144,144);background-color:rgb(176,176,176);min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a moz-do-not-send="true"
href="http://www.avast.com/" target="_blank">
<img moz-do-not-send="true"
src="http://static.avast.com/emails/avast-mail-stamp.png"
border="0"> </a> </td>
<td>
<p
style="color:rgb(61,77,90);font-family:Calibri,Verdana,Arial,Helvetica;font-size:12pt">
This email is free from viruses and malware
because <a moz-do-not-send="true"
href="http://www.avast.com/" target="_blank">avast!
Antivirus</a> protection is active. </p>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Karl St-Cyr
<div>Développeur logiciel<br>
</div>
<div>Patrik Dufresne Service Logiciel</div>
</div>
</div>
</div>
</blockquote>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>