title: What is the proper way to declare binary variables in lpsolve?
body: <p>Having a problem getting a ilp to run. Resorted to the following small code for testing. None of them work.</p>
  <pre><code>min: x1 + 10 x2 + 100 x3 + 1000 x4;
  x1 + x2 + x3 + x4 + x5 &gt;= 3;
  /* Variable bounds */
  //bin x1 x2 x3 x4 x5; // parse error
  //bin : x1 x2 x3 x4 x5; // parse error
  //bin x1,x2,x3,x4,x5    // parse error
  //int x1,x2,x3,x4,x5;  // runs but not as binary var!!
  //bin: x1,x2,x3,x4,x5; // parse error
  //bin x1,x2,x3,x4,x5; // parse error
  /*bin
  x1,x2,x3,x4,x5; parse error
  */
  /*
  binary
  x1, x2, x3, x4, x5   // parse error
  */
  /*
  binary
  x1, x2, x3, x4, x5; // parse error
  */
  </code></pre>
  <p>This is failing in lpsolve IDE 5.5.</p>