Replies posted by Simon Küter
Hi @Marcel Hunting ,thanks again for your help!!I guess my best choice is to create In the Set 2 the Subsets (Version1, Version2, Version3). This elements of the set are fixed and do not change.In a constraint I wand to do a skalar vector mulitplication. Until now I did a summation of the whole matrix like sum((Set1, Set2) Variables(Set1,Set2)*Parameter(Set1,Set2)).Now I want to rebuild that Formula. like.sum((Set1,Version2)Variables(Set1,Version2)*Parameter(Set1,Version2)) - do I have to define each header of the colums as as Subset or can I use the name of the colums to use the values below?
You are absolutely right. The way I used lead to different warnings and problems in my model. I checked the modelling tricks but not really found a suitable solution for my problem.To describe it as clearly as possible. I have the two variables “AnzahlFertigungsstationen” and “FaktorHandlingsaufwandWerker”. “AnzahlBauteile” is a fixed integer parameter.In relation to the solution of “AnzahlBauteile/AnzahlFertigungsstationen” the variable “FaktorHandlingsaufwandWerker” should take certain pre-defined values.The Variable “FaktorHandlingsaufwandWerker” is then used in a constraint as a factor of a parameter.For me the definition of the variable “FaktorHandlingsaufwandWerker” is the problem. It should be a certain value in relation of the mathematical expression I described before. I guess this is a “simple” problem, but for me as a beginner in aimms diffecult to handle.
Hi,my first Idea is to use the if-then-else statements in the variable defnition. So the variable a is defined in relation to the variable b.I want to use this structure and repeat the conditions for Values from 1-10.I hop it is okay to use this structure in the variable definition.I guess this should work, or what do you think? Thank you really much for your help!
Hey, the value has to change during the optimization. But there should be a kind of value table. So in relation to another variabel the variable should take certain values. So there are two variables. Called a (the one that should take certain values) and b, which defines which value a should take. For example if b is 5 → a has to be 1.8. If b is 2 → a has to be 1.3 and so on.Can I use if-then-else items in the variable definition to create this relationship or are there any better ways to do this? Thank you really much for your help!!
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.