<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 30/8/2012 23:11, Christos wrote:<br>
    </div>
    <blockquote cite="mid:503FC8FD.2020202@gmail.com" type="cite">Hi,
      <br>
      i created a model and i want to expand it.
      <br>
      I want to add variables-columns which are binary(0-1).
      <br>
      How can i state it to Cbc in order not to be perceived as
      continuous variables?
      <br>
      <br>
      Thank you.
      <br>
    </blockquote>
    I found in the CBC user's guide, in the "Pseudo Cost Branching"
    Chapter the sentence:<br>
    <br>
    <span style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
      font-size: medium; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: 2; text-align: start; text-indent: 0px; text-transform:
      none; white-space: normal; widows: 2; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      display: inline !important; float: none; ">"If the user declares
      variables as integer but does no more, then CBC will treat them as
      simple integer variables."</span><br>
    <br>
    How can i declare a variable to be integer(binary 0-1)?<br>
    <br>
    I use the OsiClpSolverInterface and pass the model to the solver
    with the method:<br>
    <br>
    <i>loadProblem(numcols, numrows, start, index, value, collb, colub,
      obj, rowlb, rowub)</i><br>
    <br>
    Thank you<br>
  </body>
</html>