I am trying to read a .lp file using CPLEX, and it is giving me an error 1615, which is not being able to read "(" or even "[". I am not happy with it because what I have needs to be read must have parentheses in it. Here is what I have:
[num1 + num2 + num3 + num4 + num5] * 1/12
First of all, I don't know how CPLEX would take in the multiplication sign. So, instead I have:
[num1 + num2 + num3 + num4 + num5] 1/12
And, then it may not be able to read fractions or the division sign. I am not even sure how to write this, so that it reads it. I can't solve the problem unless CPLEX reads the file successfully.
Now, similarly I am also using LPsolve, and it also cannot read parentheses, fractions, multiplication sign, and a division sign. Both of these are currently useless for me. In LPsolve, I just have to copy and paste the content into the window, and run it.
If any of you have an alternate way to write the statement I have above or a way for either CPLEX or LPsolve to read it, then that would be really helpful.