|
From: | Chelaru, Laura |
Subject: | [Help-glpk] Calculated Variables in glpsol |
Date: | Wed, 26 May 2010 23:21:03 +0400 |
Hello, I #8217;m trying to figure out a way to calculate variables in my .mod file. For example, say I have Var x Var y Param a Param b Max: a*x + b*y I want to replace this with something like Var x Var y Param a Param b Var x_a = x*a Var y_b = y*b Max: x_a + y_b. The reason for this is so that I have x_a and y_b showing up in my output. Thank you, Laura ********************* NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destinй uniquement aux destinataires susmentionnйs, est confidentiel. Si vous n'кtes pas le destinataire prйvu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation d'une partie de ce courriel est strictement interdit de mкme que toute intervention ou abstraction а cet йgard. Si vous avez reзu ce message par erreur ou sans autorisation, veuillez en aviser immйdiatement l'expйditeur par retour de courriel ou par un autre moyen et supprimer immйdiatement cette communication entiиre de tout systиme йlectronique. Si l'avis de non-responsabilitй ci-dessus n'est pas lisible, vous pouvez le consulter аwww.td.com/francais/legale
Hello, I’m trying to figure out a way to calculate variables
in my .mod file. For example, say I have Var x Var y Param a Param b Max: a*x + b*y I want to replace this with something like Var x Var y Param a Param b Var x_a = x*a Var y_b = y*b Max: x_a + y_b. The reason for this is so that I have x_a and y_b showing up
in my output. Thank you, Laura ********************* NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation d'une partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l'expéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale |
[Prev in Thread] | Current Thread | [Next in Thread] |