|
From: | Xypron |
Subject: | Re: [Help-glpk] operating following / has invalid |
Date: | Wed, 23 Nov 2011 21:46:21 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Icedove/3.1.15 |
Hello Asma, R = (C1 + C3 * V1) / 1- (V2 * C2 ) is linear in R, V1, V2. The model below is solved by glpsol. Best regards Xypron param C1 := 1; param C2 := 2; param C3 := 3; var R, >= 0; var V1, >= 0; var V2, >= 0; minimize obj : V1 + V2 + R; s.t. c1: R = (C1 + C3 * V1) / 1- (V2 * C2); end; On 23.11.2011 17:10, esma mehiaoui wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |