Hello, Michael,
thanks for your help, but I can't get it programmed. Isn't it also possible to declare bc(j,p),bp(j,p), bs(i,j,p) as parameter? Then link them with an ' if ' assignment to the binary variables z(l,i,js), y(l,j,s) and v(l,j,s)?
Thanks a lot
Search found 8 matches
- 3 years ago
- Forum: Modeling
- Topic: Problem with binary Variables
- Replies: 2
- Views: 2144
- 3 years ago
- Forum: Modeling
- Topic: Problem with binary Variables
- Replies: 2
- Views: 2144
Problem with binary Variables
Hello,
I have a problem with presenting this equation as a linear problem: When binary variables are multiplied by each other, it is no longer a linear problem. Can you help me to make this problem linear to run it with MIP solver.
Thank you very much!
I have a problem with presenting this equation as a linear problem: When binary variables are multiplied by each other, it is no longer a linear problem. Can you help me to make this problem linear to run it with MIP solver.
Thank you very much!
- 3 years ago
- Forum: Modeling
- Topic: Infeasible Model
- Replies: 1
- Views: 1797
Infeasible Model
Hello, My model gives the error in the execution:row '...' infeasible, all entries at implied bounds The objective function with the first three additional functions can be executed without problems. In combination with the fourth and fifth additional functions, this error is displayed. grafik.png C...
- 3 years ago
- Forum: Syntax
- Topic: Dynamic set problem
- Replies: 5
- Views: 3864
Re: Dynamic set problem
If I try to link the equation with phi, I get an error. This is what I've been doing:
I don't know how to define dummy period and then put it into the equation. I would be so grateful if you could help me with that.
I'm sorry, I don't understand what you mean by dummy period.I don't know how to define dummy period and then put it into the equation. I would be so grateful if you could help me with that.
- 3 years ago
- Forum: Syntax
- Topic: Dynamic set problem
- Replies: 5
- Views: 3864
Re: Dynamic set problem
Hello, Michael, thank you very much for your help. Your tip helped. I still have two last problems. I have 3 microperiods s in 2 macroperiods t.The first microperiod in each macroperiod should get a fixed start time in the set phi. How can I program this problem? grafik.png I've tried: Set phi(s,t) ...
- 3 years ago
- Forum: Syntax
- Topic: Dynamic set problem
- Replies: 5
- Views: 3864
Dynamic set problem
Hello, i have problems with the creation of a dynamic set. I have two macroperiods, each of which should contain three microperiods. But I can't get them linked.Here are my sets: grafik.png And here I have tried to link them together: grafik.png I get the error "unknown symbol". I hope you...
- 3 years ago
- Forum: Syntax
- Topic: SUM-Problem
- Replies: 3
- Views: 2560
Re: SUM-Problem
Hello, Michael,
thank you for your prompt assistance. The equations are now without errors. But I have another problem now. I have declared the parameters with values, but when I execute the model I get the value 0 for the target function.
Can you help me with that?
thank you for your prompt assistance. The equations are now without errors. But I have another problem now. I have declared the parameters with values, but when I execute the model I get the value 0 for the target function.
Can you help me with that?
- 3 years ago
- Forum: Syntax
- Topic: SUM-Problem
- Replies: 3
- Views: 2560
SUM-Problem
Hello Everybody, I have tried a model with an objective function and some secondary functions. grafik.png With these two secondary functions, I get errors again and again and I do not know why.(Error125,171) This is my written code for the two functions: grafik.png I can't find anything in the error...