title: CEIL in objective function CPLEX C++
body: <p>As per my knowledge, there's a tutorial that shows that ILOG can use ceil function (<a href="https://cs.pwr.edu.pl/zielinski/lectures/om/opl/workbook.pdf" rel="nofollow noreferrer">here</a>). However, when I tried to implement it to calculate my objective function in CPLEX C++ (concert), it was failed. What I am looking for is as per below:</p>
  <pre><code>for (i=0; i&lt;I; i++){
    for (j=0; j&lt;J; j++){
        TO += ceil(DecisionVariable[i][j]/parameter[j]);
    }
  }
  </code></pre>
  <p>Any advises would be appreciated. Thank you so much.</p>
  <p>Best regards,</p>