[Scip] SCIP 3.1.0 writing empty solution files when called from command line

Ramón Casero Cañas rcasero at gmail.com
Mon Apr 28 21:31:03 CEST 2014


Dear all,

I'm having an odd problem that was not happening with v3.0.2. I solve the
attached problem calling scip from the command line on Ubuntu Saucy.

$ ./scip-3.1.0.linux.x86_64.gnu.opt.spx -q  -c "read
/tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac.pip" -c "set display
verblevel 0" -c "set limits solutions 1" -c "optimize" -c "write solution
/tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac-sol.txt" -c "quit"

The file it writes with the solution is empty.

However, if I do the same in interactive mode

$ ./scip-3.1.0.linux.x86_64.gnu.opt.spx
SCIP version 3.1.0 [precision: 8 byte] [memory: block] [mode: optimized]
[LP solver: SoPlex 2.0.0] [GitHash: 577ee45]
Copyright (c) 2002-2014 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
(ZIB)

External codes:
  SoPlex 2.0.0         Linear Programming Solver developed at Zuse
Institute Berlin (soplex.zib.de) [GitHash: 568f354]
  cppad-20140000.1     Algorithmic Differentiation of C++ algorithms
developed by B. Bell (www.coin-or.org/CppAD)
  ZLIB 1.2.8           General purpose compression library by J. Gailly and
M. Adler (zlib.net)
  GMP 5.1.3            GNU Multiple Precision Arithmetic Library developed
by T. Granlund (gmplib.org)
  ZIMPL 3.3.2          Zuse Institute Mathematical Programming Language
developed by T. Koch (zimpl.zib.de)
  Ipopt 3.11.7         Interior Point Optimizer developed by A. Waechter
et.al. (www.coin-or.org/Ipopt)

user parameter file <scip.set> not found - using default parameters

SCIP> read /tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac.pip

read problem </tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac.pip>
============

original problem has 46 variables (0 bin, 0 int, 0 impl, 46 cont) and 126
constraints
SCIP> set display verblevel 0
display/verblevel = 0
SCIP> set limits solutions 1
limits/solutions = 1
SCIP> optimize


******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear
optimization.
 Ipopt is released as open source code under the Eclipse Public License
(EPL).
         For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************


SCIP> write solution
/tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac-sol.txt

written solution information to file
</tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac-sol.txt>

SCIP> quit


The output solution file is not empty (please find attached).

Likewise, if I run from the command line, but calling the previous version
of SCIP,

./scip-3.0.2.linux.x86_64.gnu.opt.spx -q  -c "read
/tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac.pip" -c "set display
verblevel 0" -c "set limits solutions 1" -c "optimize" -c "write solution
/tmp/model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac-sol.txt" -c "quit"

then the solution file is not empty either.


Best regards,

Ramon.


-- 
Dr. Ramón Casero Cañas

Institute of Biomedical Engineering
Department of Engineering Science, University of Oxford
Old Road Campus Research Building, Headington
Oxford
OX3 7DQ
UK

tlf         +44 (0) 1865 617716
twitter   @Ramon_Casero
web      http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140428/17de901e/attachment.html>
-------------- next part --------------
solution status: solution limit reached
objective value:                    -1830.77802177178
x1                                 -0.330051305719615 	(obj:0)
x2                                 -0.442946751412569 	(obj:0)
y1                                   1.80070988735601 	(obj:0)
y2                                   1.71629755822345 	(obj:0)
z1                                 -0.341975579451062 	(obj:0)
z2                                  -0.57145264617386 	(obj:0)
x3                                 -0.406745685724442 	(obj:0)
y3                                   1.65595501329726 	(obj:0)
z3                                 -0.748871284567688 	(obj:0)
x5                                  -1.82059152385706 	(obj:0)
y5                                -0.0537574367215001 	(obj:0)
z5                                 -0.388579336850007 	(obj:0)
x6                                  -1.79853033095502 	(obj:0)
y6                                 -0.483368368682269 	(obj:0)
z6                               -0.00899603035102663 	(obj:0)
x7                                  -1.82128340684367 	(obj:0)
y7                                -0.0178724355257831 	(obj:0)
z7                                  -0.38864455196764 	(obj:0)
x11                                 -1.69890775829318 	(obj:0)
y11                                -0.749381856850042 	(obj:0)
z11                                 0.143445185367204 	(obj:0)
x12                                 -1.74246248897202 	(obj:0)
y12                                -0.651212933143283 	(obj:0)
z12                                0.0904624231499665 	(obj:0)
x13                                 -1.74430069732423 	(obj:0)
y13                                -0.646613196497265 	(obj:0)
z13                                0.0879983590734806 	(obj:0)
x20                                 -1.81930354766081 	(obj:0)
y20                                0.0909317999788634 	(obj:0)
z20                                 -0.38768965551226 	(obj:0)
x21                                  -1.7001952712248 	(obj:0)
y21                               -0.0668496979425701 	(obj:0)
z21                                 0.757168684877849 	(obj:0)
x22                                 -1.64330558563579 	(obj:0)
y22                                 0.519578797859855 	(obj:0)
z22                                 0.705706656339971 	(obj:0)
x25                                -0.391209685254761 	(obj:0)
y25                                 0.742802248725382 	(obj:0)
z25                                  1.66241903899745 	(obj:0)
x27                               -0.0544334189854089 	(obj:0)
y27                                  1.57941931045274 	(obj:0)
z27                                 0.985347098456354 	(obj:0)
x34                                 -0.68502591231604 	(obj:0)
y34                                 -1.59247545831956 	(obj:0)
z34                                  0.68058700683696 	(obj:0)
quadobjvar                          -1830.77802177178 	(obj:1)
nlreform0                          -0.153687312523479 	(obj:0)
nlreform1                           -1.36179084540214 	(obj:0)
nlreform2                          -0.296211722895825 	(obj:0)
nlreform3                            2.77482875073037 	(obj:0)
nlreform4                          0.0407636243990144 	(obj:0)
nlreform5                         -0.0934239440904111 	(obj:0)
nlreform6                         -0.0980187957696184 	(obj:0)
nlreform7                          0.0325384046289225 	(obj:0)
nlreform8                          -0.698096627226781 	(obj:0)
nlreform9                            -1.3359523742342 	(obj:0)
nlreform10                          -1.22065108435325 	(obj:0)
nlreform11                        -0.0934133599082591 	(obj:0)
nlreform12                        -0.0677908986352761 	(obj:0)
nlreform13                          -1.15625454610885 	(obj:0)
nlreform14                           2.77482875073037 	(obj:0)
nlreform15                         -0.510019554931493 	(obj:0)
nlreform16                        0.000601381911648324 	(obj:0)
nlreform17                         -0.365991392026705 	(obj:0)
nlreform18                          0.697271604436304 	(obj:0)
nlreform19                         -0.154601816328022 	(obj:0)
nlreform20                          0.187396916339952 	(obj:0)
nlreform21                         -0.111132210610957 	(obj:0)
nlreform22                          0.562426601791707 	(obj:0)
nlreform23                          0.151667948109478 	(obj:0)
nlreform24                           0.15116675553517 	(obj:0)
nlreform25                         -0.287976747922076 	(obj:0)
nlreform26                        -0.0619691039486254 	(obj:0)
nlreform27                          -1.18589732989515 	(obj:0)
nlreform28                         -0.443207060981504 	(obj:0)
nlreform29                         -0.144059188766441 	(obj:0)
nlreform30                          0.446097733638482 	(obj:0)
nlreform31                            1.6316904675267 	(obj:0)
nlreform32                          -1.18278176788976 	(obj:0)
nlreform33                         0.0311061213195024 	(obj:0)
nlreform34                         -0.698096627226781 	(obj:0)
nlreform35                         -0.902563344376315 	(obj:0)
nlreform36                            1.6911488190832 	(obj:0)
nlreform37                         -0.902563344376315 	(obj:0)
nlreform38                         -0.436456296275043 	(obj:0)
nlreform39                         0.0311061213195024 	(obj:0)
nlreform40                         -0.699598652683323 	(obj:0)
nlreform41                         -0.325215096432554 	(obj:0)
nlreform42                         0.0186148999990377 	(obj:0)
nlreform43                         -0.732430977923405 	(obj:0)
nlreform44                         -0.540122833888274 	(obj:0)
nlreform45                          0.247165945287491 	(obj:0)
nlreform46                         0.0208925349095559 	(obj:0)
nlreform47                         0.0069448591445033 	(obj:0)
nlreform48                          0.707562977105508 	(obj:0)
nlreform49                          0.707713098447233 	(obj:0)
nlreform50                         0.0979075274953165 	(obj:0)
nlreform51                         -0.946299874293587 	(obj:0)
nlreform52                          -1.28528595712718 	(obj:0)
nlreform53                          0.331710102725415 	(obj:0)
nlreform54                          0.232435898427034 	(obj:0)
nlreform55                         -0.733499893625377 	(obj:0)
nlreform56                        0.00351933420216741 	(obj:0)
nlreform57                          -2.98991106439402 	(obj:0)
nlreform58                          -1.26290887073804 	(obj:0)
nlreform59                         -0.803560778946544 	(obj:0)
nlreform60                         -0.296211722895825 	(obj:0)
nlreform61                          0.524200491269801 	(obj:0)
nlreform62                          0.863757685821631 	(obj:0)
nlreform63                          -0.27607927890895 	(obj:0)
nlreform64                          -2.73186249245179 	(obj:0)
nlreform65                         -0.203264257975801 	(obj:0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: model-tpb28d93c2_6fe6_44cf_b8ca_8e95135f2fac.pip
Type: application/octet-stream
Size: 59956 bytes
Desc: not available
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140428/17de901e/attachment.obj>


More information about the Scip mailing list