Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Operations Research Stack Exchange is a question and answer site for operations research and analytics professionals, educators, and students. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I tried solving this problem
Here is my cplex code
I have mentioned stored[month] as float+ but in the final result I get negative values. What is wrong with my model?
you get negative values because your model is relaxed by cplex since it is not feasible.
You should debug it.
looks very strange, I would change one i into 1
Plus to get help try to copy / paste code instead of screenshots