Syed Saad Ali
- Total activity 21
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 4
Comments
Recent activity by Syed Saad Ali-
Hi! Somehow I have removed the errors and my program is working and optimizing but it is making one of my variable equal to zero for all values. (Screenshot is attached ) What could be the possible...
-
Hi Jaromil, I tried to formulate the first constraint like this: for t in T: \begin{equation} model.addGenConstPWL(y_t, r, [0, 50, 50, 100, 100, 150],[0, 0, 0.05, 0.05, 0.1, 0.1]) \end{equati...
-
Hi Jaromil, Yes, $p_t$ is a constant and it's working. But there is another term added to the objective function which contains another variable. So, in that case shall I state separate objective f...
-
Hi Jaromil, Many thanks for the answer. It surely helps a lot in understanding how to formulate the piecewise objective function but I still have one confusion. What does this $y$ value indicates a...
-
Hi Matthias, Thanks for the answer. Could you please provide a clue as to how we could formulate piecewise objective function for this problem. I went through the examples mentioned but can't rel...
-
Hi Jaromil, these $b$ and $d$ aren't known a priori and are in the form of a list.
-
Yeah, that was the problem. Now it works. Thanks a lot for your quick responses, Jaromil :)
-
and yes, I am also able to execute the code from the command line as you asked in the above comment gurobi_cl C:\gurobi912\win64\examples\data\afiro.mps
-
-
I have entered this code to read the file, but its not working model = read("C:\gurobi912\win64\examples\data\afiro.mps")