[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Newbie was wondering how
From: |
Liberson, Gary M |
Subject: |
[Help-glpk] Newbie was wondering how |
Date: |
Thu, 23 Aug 2001 13:11:02 -0500 |
Am a newbie to GLPK, was wondering,
how do you take a data parameter
x[i,d] := data (i in stuff, d in days:
stuff1 d1 20
stuff1 d2 0
stuff1 d3 3 ) ;
I want to sum and take the above data do some math and yield a data
parameter that is a continuous sum by i,d yielding the result. I want
obviously not enter the data, I would like to caculate it on the fly?
xsum[i,d] := data (i in stuff, d in days:
stuff1 d1 20
stuff1 d2 20
stuff1 d3 23 ) ;
Using sum and displaying it does seem to do as I want. Any ideas?
Thanks in advance
***************************************************
Gary Liberson
Specialist
Lockheed Martin Aeronautics Company
P.O. Box 748 MZ 2897
Fort Worth TX, 76101
Phone: 817-777-2103
Fax: 817-762-4772
email: address@hidden
***************************************************
- [Help-glpk] Newbie was wondering how,
Liberson, Gary M <=