<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I’m trying to use SCIP in our c++ library. I am compiling (suse linux) with IPOPT=true option to activate LAPACK (fortran library). After installing
<span style="font-size:9.0pt;font-family:"Courier New"">libgfortran.so.3,</span>the linking gives the following error (see below). Apparently I need libhsl.so library, which is available at
<a href="https://github.com/casadi/casadi/wiki/Obtaining-HSL">https://github.com/casadi/casadi/wiki/Obtaining-HSL</a>. Now, the question is if I need HSL production license? Our company (SAP) has SCIP license for OFL (our SAP product), but they don’t use LAPACK.
 So, if HSL is part of SCIP, how do I obtain libhsl.co library?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#222222;background:white">Original Problem:</span><span style="font-family:"Arial",sans-serif;color:#222222"><br>
<span style="background:white">STATISTICS</span><br>
<span style="background:white">  Problem name     : problem1</span><br>
<span style="background:white">  Variables        : 5 (0 binary, 0 integer, 0 implicit integer, 5 continuous)</span><br>
<span style="background:white">  Constraints      : 0 initial, 2 maximal</span><br>
<span style="background:white">OBJECTIVE</span><br>
<span style="background:white">  Sense            : minimize</span><br>
<span style="background:white">VARIABLES</span><br>
<span style="background:white">  [continuous] <x1>: obj=0, original bounds=[-3,3]</span><br>
<span style="background:white">  [continuous] <x2>: obj=0, original bounds=[-3,3]</span><br>
<span style="background:white">  [continuous] <x3>: obj=0, original bounds=[-3,3]</span><br>
<span style="background:white">  [continuous] <x4>: obj=0, original bounds=[-3,3]</span><br>
<span style="background:white">  [continuous] <obj>: obj=1, original bounds=[-inf,+inf]</span><br>
<span style="background:white">CONSTRAINTS</span><br>
<span style="background:white">  [linear] <constrj>:  -0.103111371376616<x1>[C] -0.0918254105621112<x2>[C] -0.0360826398483436<x3>[C] +0.0683195483527113<x4>[C] >= -1;</span><br>
<span style="background:white">  [quadratic] <constrm>:  +13.1200771409643<x1>[C] +57.2279181564708<x1>[C]^2 +3.95909498225939<x2>[C] +53.2052128347995<x2>[C]^2 +23.5748721949639<x3>[C] +51.4737147305889<x3>[C]^2 +23.2133345748624<x4>[C] +41.831859605578<x4>[C]^2
 -<obj>[C] +95.7868558769789<x1>[C]<x2>[C] +91.0132323375585<x1>[C]<x3>[C] +67.4959089332421<x1>[C]<x4>[C] +97.4849344358596<x2>[C]<x3>[C] +74.6177976486421<x2>[C]<x4>[C] +79.4290929005315<x3>[C]<x4>[C] <= 0;</span><br>
<span style="background:white">END</span><br>
<br>
<span style="background:white">Solving...</span><br>
<span style="background:white">feasible solution found by trivial heuristic after 0.0 seconds, objective value 0.000000e+00</span><br>
<span style="background:white">presolving:</span><br>
<span style="background:white">(round 1, fast)       0 del vars, 1 del conss, 0 add conss, 1 chg bounds, 0 chg sides, 0 chg coeffs, 0 upgd conss, 0 impls, 0 clqs</span><br>
<span style="background:white">(round 2, fast)       0 del vars, 1 del conss, 0 add conss, 2 chg bounds, 0 chg sides, 0 chg coeffs, 0 upgd conss, 0 impls, 0 clqs</span><br>
<span style="background:white">presolving (3 rounds: 3 fast, 1 medium, 1 exhaustive):</span><br>
<span style="background:white"> 0 deleted vars, 1 deleted constraints, 0 added constraints, 2 tightened bounds, 0 added holes, 0 changed sides, 0 changed coefficients</span><br>
<span style="background:white"> 0 implications, 0 cliques</span><br>
<span style="background:white">presolved problem has 5 variables (0 bin, 0 int, 0 impl, 5 cont) and 1 constraints</span><br>
<span style="background:white">      1 constraints of type <quadratic></span><br>
<span style="background:white">Presolving Time: 0.00</span><br>
<span style="background:white">transformed 1/2 original solutions to the transformed problem space</span><br>
<span style="background:white">Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 271:</span><br>
<span style="background:white"> Exception message: Selected linear solver MA27 not available.</span><br>
<span style="background:white">Tried to obtain MA27 from shared library "libhsl.so", but the following error occured:</span><br>
<span style="background:white">libhsl.so: cannot open shared object file: No such file or directory</span><br>
<span style="background:white">[src/nlpi/nlpi_ipopt.cpp:1110] ERROR: Ipopt returned with application return status -12</span><br>
<span style="background:white">[src/nlpi/nlpi.c:503] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/cons_quadratic.c:7117] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/cons_quadratic.c:7286] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/cons_quadratic.c:10662] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/cons.c:2623] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/set.c:4559] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/scip.c:13864] ERROR: Error <0> in function call</span><br>
<span style="background:white">[src/scip/scip.c:14650] ERROR: Error <0> in function call</span><br>
<span style="background:white">[../../AFL/SCAL/EDS/optimize.cpp:233] ERROR: Error <0> in function call</span></span><o:p></o:p></p>
</div>
</body>
</html>