Hi All,
I want to transform my OPL code to Java. But I can not find the the equivalence of ceil function in java interface. I only find IloModeler.max, IloModeler.min, IloModeler.abs.
Can any one tell me, is this function support in Java interface? Otherwise I need to use some trick to transform the ceil function into constraints.
Thanks.
Topic

Re: Using Ceil in objective function via Java interface
20130106T17:41:15ZThis is the accepted answer. This is the accepted answer.I think Math.ceil() is what you are looking for. 
Re: Using Ceil in objective function via Java interface
20130107T02:13:11ZThis is the accepted answer. This is the accepted answer. SystemAdmin
 20130106T17:41:15Z
I think Math.ceil() is what you are looking for.
I find this in ilog.cp.IloCP
ilog.cp.IloCP cp = new IloCP();
cp.ceil()