[Scip] How to run the program after successful compilation
Xiangyong Li
lixiangyong at 163.com
Fri Dec 25 16:56:16 MET 2009
Dear all,
Merry Christmas and Happy New Year.
I tried to develop my own branch and price code which is build based on the code of coloring example in the SCIP distribution. I have compiled the program and shows no debugging errors. But I do not know how to implement the program.
When I run the coloring example ("coloring.mingw32_nt-6.0.x86.gnu.opt.spx"), then it switched to the SCIP window as follows:
SCIP version 1.2.0 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 1.4.2]
Copyright (c) 2002-2009 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
user parameter file <scip.set> not found - using default parameters
SCIP>
In this window, I can use "read" command to read an instance and then solve it.
But when I implemented my own B&P code, why it did not swithed to a SCIP windows like "SCIP>", instead it stills locate in the root directory of my program ("ndr.mingw32_nt-6.0.x86.gnu.opt.spx") as follows
C:\mybp>c:\mybp\bin\ndr.mingw32_nt-6.0.x86.gnu.opt.spx
SCIP version 1.2.0 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 1.4.2]
Copyright (c) 2002-2009 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
user parameter file <scip.set> not found - using default parameters
C:\mybp>
In "C:\mybp", I tried to implement my program. I should give the following parameters.
syntax: c:\mybp\bin\ndr.mingw32_nt-6.0.x86.gnu.opt.spx [-l <logfile>] [-q] [-s <settings>] [-f <problem>] [-b <batchfile>] [-c "command"]
-l <logfile> : copy output into log file
-q : suppress screen messages
-s <settings> : load parameter settings (.set) file
-f <problem> : load and solve problem file
-b <batchfile>: load and execute dialog command batch file (can be used multiple times)
-c "command" : execute single line of dialog commands (can be used multiple times)
Suppose I want to solve instance "NDR1.txt" in the bin directory, what I should enter in the command lines? Is the following is correct?
c:\mybp\bin\coloring.mingw32_nt-6.0.x86.gnu.opt.spx -l logfile -q -s scip.set -f NDR1.txt -b batchfile1 -c "command"
Should I put the instance and the file "coloring.mingw32_nt-6.0.x86.gnu.opt.spx" in the same directory?
Can you give some suggestions on the implementation?
Thanks.
Xiangyong Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.zib.de/mailman/private/scip/attachments/20091225/4105f7f4/attachment.html
More information about the Scip
mailing list