Search found 11 matches
- 3 years ago
- Forum: Modeling
- Topic: Round variable up to the next whole number (integer)
- Replies: 2
- Views: 2053
Re: Round variable up to the next whole number (integer)
Thanks for your solution. I'm really appreciate it.
- 3 years ago
- Forum: Modeling
- Topic: Round variable up to the next whole number (integer)
- Replies: 2
- Views: 2053
Round variable up to the next whole number (integer)
Hi, My variable is the number of plant (i.e. 3.2 plants) and I would like to round it up to the next integer (i.e. 4 plants). This is to calculate the capital cost (number of plant x capital cost per plant) as we cannot build 3.2 plants. At the same time, this variable need to keep as decimal point ...
- 3 years ago
- Forum: Modeling
- Topic: Three objective function optimization (eps constraint method)
- Replies: 3
- Views: 2816
Re: Three objective function optimization (eps constraint method)
No synchronization is needed among the variables. Could you provide an example code for the method you mentioned?
Many thanks,
Jun Keat
Many thanks,
Jun Keat
- 3 years ago
- Forum: Modeling
- Topic: Three objective function optimization (eps constraint method)
- Replies: 3
- Views: 2816
Three objective function optimization (eps constraint method)
Hi,
I'm trying to minimize three objective function simultaneously (cost, human health and environmental impact) for waste management system. What method can I use to do the optimization? I have tried the eps constraint method but it didn't give me the solutions, Jun keat
I'm trying to minimize three objective function simultaneously (cost, human health and environmental impact) for waste management system. What method can I use to do the optimization? I have tried the eps constraint method but it didn't give me the solutions, Jun keat
- 3 years ago
- Forum: Solvers
- Topic: Codes runs fine but stops halfway
- Replies: 6
- Views: 4858
Re: Codes runs fine but stops halfway
Yes, as the program stops halfway where my last screenshot shows so I cannot get the logfile.
- 3 years ago
- Forum: Solvers
- Topic: Codes runs fine but stops halfway
- Replies: 6
- Views: 4858
Re: Codes runs fine but stops halfway
Hi Fred,
This is the result I obtained. Seems like the code just stop after getting one solution. Is there some problem with my laptop or my software?
Jun Keat
This is the result I obtained. Seems like the code just stop after getting one solution. Is there some problem with my laptop or my software?
Jun Keat
- 3 years ago
- Forum: Solvers
- Topic: Codes runs fine but stops halfway
- Replies: 6
- Views: 4858
Re: Codes runs fine but stops halfway
Hi Fred,
I'm only can obtain one result in gdx. file. I guess it suppose to have a set of pareto optimal solutions?
Jun Keat
I'm only can obtain one result in gdx. file. I guess it suppose to have a set of pareto optimal solutions?
Jun Keat
- 3 years ago
- Forum: Solvers
- Topic: Codes runs fine but stops halfway
- Replies: 6
- Views: 4858
Codes runs fine but stops halfway
Hi,
I'm using epsilon constraint method to solve three objective functions. The code runs fine but it stops randomly halfway through execution. I am wondering where is the problem. Jun Keat
I'm using epsilon constraint method to solve three objective functions. The code runs fine but it stops randomly halfway through execution. I am wondering where is the problem. Jun Keat
- 4 years ago
- Forum: Syntax
- Topic: Positive variable
- Replies: 3
- Views: 3077
Re: Positive variable
Hi Michael, Thanks for the reply. The model is really infeasible. However, I don't know how to make it feasible. Can you help me to check on my code? Thanks so much! Sets i 'waste type' / waste-1 * waste-5 / j 'power plant' / plant-1 * plant-7 / ; Parameters w(i) 'waste amount(mil)' / waste-1 40 was...
- 4 years ago
- Forum: Syntax
- Topic: Positive variable
- Replies: 3
- Views: 3077
Positive variable
Hi, How come I still get negative value even though I have set the variable to be positive variable? It still give me negative answer even if I have set a demand constraint, meaning that each plant can not receive a negative demand for any circumstances. Is there any other methods to avoid negative ...