Error in 0-1 decision variable when solving model and the multiplication and division problem of the two decision variables. #1160
-
When I compare the inequality of 0-1 decision variables, the result shows that it is 0.5. If there is a decision variable v(i,m) and the constraint v(i,m+1)>=v(i,m) is set, the ideal goal is not achieved. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 40 replies
-
You have to use code-blocks <> when you paste code into posts. As it is now, it cannot be copied to run as it is broken. There are no official commands in yalmip called solvesdp or double https://yalmip.github.io/tutorial/basics/ It is unclear what your actual question is now. |
Beta Was this translation helpful? Give feedback.
-
and code gets messy to read when you use & to separate constraints. in particular when you mix using & and , |
Beta Was this translation helpful? Give feedback.
-
First of all, thank you for your reply! |
Beta Was this translation helpful? Give feedback.
-
Dear johanlofberg! After studying, I make changes to the program according to your guidance.Hope to get your guidance.
|
Beta Was this translation helpful? Give feedback.
-
Dear Johanlofberg, I read the website tutorial carefully and wanted to see the feasible problem by hiding the objective function. But there are very few tutorials on the web, so I failed to achieve the goal of hiding the objective function. I hereby ask you how I should do it, whether I need to modify the relevant content of the solver, if so, please point to it in the solution module below me.
|
Beta Was this translation helpful? Give feedback.
-
Dear Johanlofberg, Hello! After yesterday's exchange, I have a preliminary grasp of the method of examining constraints to determine whether the model is feasible. So I added a new module to the previous model, but unfortunately, the model started a new non-feasible problem. I would like to ask you to help me see if there is a logical problem with my new module.
|
Beta Was this translation helpful? Give feedback.
You have to use code-blocks <> when you paste code into posts. As it is now, it cannot be copied to run as it is broken.
There are no official commands in yalmip called solvesdp or double https://yalmip.github.io/tutorial/basics/
It is unclear what your actual question is now.