<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Scip users,<div><br></div><div>I'am newer in SCIP solver, i know the basic steps to model and solve MIP</div><div>using cpp wrapper for column generation.</div><div><br></div><div>My question concern the objective function in SCIP. When adding variables to the problem.</div><div>In the original problem, <span style="font-size: 12pt;">each time we use SCIPaddVar(),</span><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;"> SCIP construct the objective as </span></div><div><span style="font-size: 12pt;">follow (notation in latex format) </span><span style="font-size: 12pt;">:</span></div><div><br></div>
<div><b style="font-size: 12pt;"><span style="color: rgb(128, 0, 0);">\min</span>   z = </b><b><span style="font-size: 12pt; color: rgb(128, 0, 0);">\sum</span><span style="font-size: 12pt;">{i </span><span style="font-size: 12pt; color: rgb(128, 0, 0);">\in</span><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;">vars</span><span style="font-size: 12pt;">} </span><span style="font-size: 12pt;">C_i</span><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;">vars_i</span></b>, where <b>C_i</b> is the objective of variable, and <b>vars_i</b> its associated variable.</div><div><br></div><div>In my case, i don't want to use this formula to construct my objective function. To be more clear,</div><div>my objective function has the form :</div><div><br></div><div>

<pre style="margin-top: 0px; margin-bottom: 0px;"><b><span style="font-family: Calibri, sans-serif; font-size: 12pt; color: rgb(128, 0, 0);">\min</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">  z= </span><span style="font-family: Calibri, sans-serif; font-size: 12pt; color: rgb(128, 0, 0);">\sum_</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">{I </span><span style="font-family: Calibri, sans-serif; font-size: 12pt; color: rgb(128, 0, 0);">\in</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;"> X} </span><span style="font-family: Calibri, sans-serif; font-size: 12pt; color: rgb(128, 0, 0);">\sum_</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">{J </span><span style="font-family: Calibri, sans-serif; font-size: 12pt; color: rgb(128, 0, 0);">\in</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;"> X} </span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">|f_I</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;"> </span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">X_I</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;"> - </span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">f_J</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;"> </span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">X_J|</span></b>,<font face="Calibri"> <font size="4">where X is set of  boolean variables, f_I<!--EndFragment--></font></font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font face="Calibri" size="4">their associated objective values.</font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font face="Calibri" size="4">I want to know if there some c++ SCIP functions, that allow me, to express my objective function</font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font size="4"><font face="Calibri">as i want ?</font></font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font size="4"><br></font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font size="4"><font face="Calibri">Thank you for any response or documentations about this question</font></font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font size="4"><br></font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font size="4">---</font></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><font size="4">Abdelkader Ouali  </font></pre></div>                                     </div></body>
</html>