Replies posted by kmohamad095
Thank you Mr. Marcel for your reply, and I am sorry for constantly bothering you with questions. However, I am still facing issues with me model and I’m unable to solve them.The first issue is the wastage portion of my model. In short, I created a set called manufacturing period (m) and made it a subset of the time period (t). After wards I used both sets to create the constraint for the medication shelf-life, which as you know will decline with time [attached is image#1 of the shelf-life constraint]. After getting the proper shelf-life values, despite the negative answers, I decided to use the shelf-life variable as a condition for the if-then statement to get the amount of wastage that will be produced from not selling that medication. Obviously, AIMMS reject having a variable be the subject of the if-then statement, despite giving me no errors when I check and commit the definition of the constraint [attached is image#2 of the wastage constraint]. When running the model I get the fo
Dear Mr. MarcelI would like to thank you for your help and I am sorry for the late reply. I will take a look at the robust optimization link you provided for the uncertainty definition. For the Shelf_Life variable I want the data/results to be positive only, and even when using the non-negative range in defining the Shelf_Life variable, I’m not getting a result. I am getting a result only when the range is free.I tried defining the Shelf_Life in a while-loop but I keep getting a message that says that “the term while is unexpected” (attached is an image of the message I’m getting). The problem is that I need to use the Shelf_Life variable to define the relationship of another variable.From my limited experience in programming, I know that an if-then statement or a while-loop statement is the best thing for my research project, but I seem to be having an issue defining them properly despite following the manuals and their examples.I appreciate your help and support, and would hope you c
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.