help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [Help-glpk] [feature] defining sets of dynamic dimensions?


From: Andrew Makhorin
Subject: Re[2]: [Help-glpk] [feature] defining sets of dynamic dimensions?
Date: Wed, 21 Jul 2004 11:04:56 +0400

>On another point of view, could it be possible to make the features of the
>language available through the C API ?
>
>This would allow to interactively add those sets in a dynamic way in C and
>do much more than that in still a very high level way without cluttering the
>declarative language with more dynamic constructions.

There is an attempt to implement such approach; see:
<http://www.mat.ua.pt/thh/flopc/>.

>However, it may be very difficult to implement this as, currently, no link
>is kept between the model expressed in the language and the underlying GLPK
>C structure.

In principle, it is not so difficult to carry out main objects used in
the glpk mathprog translator to make them available as C++-like classes.
However, this would assume that the user describes his model entirely
in C using no interface between C program and the translator data base.

As to sets consisting of tuples of different dimensions, it seems to me
this is very artificial feature. If necessary, one could introduce fake
tuple components to resolve the problem.

Andrew Makhorin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]