|
From: | Borja López Berrocal |
Subject: | [Help-glpk] HELP!!!!!!! |
Date: | Thu, 16 Oct 2003 02:34:36 +0200 |
Hello
everybody! My
name Borja, (from But I dont know how
to do it. I have tried to compile the whole kit, but I couldn´t, I didnt find
the main program. My problem to
solve: OPTIMIZE CX Under
this constraints AX≤ b X has 288
elements A is a 312x288 matrix, it
fix, never changes and is a sparse matrix. I have made it. C, is a vector that I give
to the program (data) B, is a vector that I give
to the program (data) The program has to take the
data from a excel file, I attach it. It is like
this C is :
And B
is:
So the problem is, I have
12 technology to supply electricity to 24 periods So 12*24=288
variables The constranints are Xi≤capacity i=1
.24 for PFC
technology
i=25
48 for ICG
technology
..
i=225
258
for NND technology And Demand
fulfilment
X1 + X25 + X49 + X73 + X97
+ X121 + X145 + X169 + X193 + X217 + X241 + X265 ≤ TPELSH[GBR,SUMMERA] X2 + X26 + X50 + X74 + X98
+ X122 + X146 + X170 + X194 + X218 + X242 + X266≤
TPELSH[GBR,SUMMERB]
. X24 + X48 + X72 + X96 + X120 + X144 + X168 + X192 + X216 + X240 + X264 + X288 ≤ TPELSH[GBR,WINTERL]
I attach
the meaning of technologies and the excel file. I
wish someone can help me, orient to me, give me some clue or
some advice, because that very important for me, is for my final project and I
have to finish very soon to get a job. If
someone does I will thank him forever |
Technologies.doc
Description: MS-Word document
UK data - Conventional tech.xls
Description: MS-Excel spreadsheet
[Prev in Thread] | Current Thread | [Next in Thread] |