I have a few continuous variables(decision variables). When the optimisation is run some variables get solution of very small decimal numbers like 0.00000123 etc. I do not want the variables to take such values, but I want to allow them to have 0 value. Hence I had put a constraint as below.
in declaration part : dvar float+ Xbdt[Pitblocks][DumpBlocks][TimePeriods]
in constraints part :
forall(b in PitBlocks,d in DumpBlocks,t in TimePeriods)
{
//NonNegative :
(Xbdt[b][d][t] == 0) || (Xbdt[b][d][t] >= 100) ;
}
But these constraints gave rise to hundred thousand of binaries and made it impossible to solve.
I wanted to avoid any value of Xbdt between 0+ and 100, 0 is allowed. Is there any other way of doing this.