[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] API question
From: |
Michael Hennebry |
Subject: |
Re: [Help-glpk] API question |
Date: |
Tue, 7 Nov 2006 09:46:11 -0600 (CST) |
On Tue, 7 Nov 2006, Rafa Marin Lopez wrote:
> I have seen (and tested) that the example sample.c it is not possible to
> set a coefficient to zero at the table ar[x]=0.0
> However it implies, for example in the second equation, that x2 and x3
> coefficient are zero.
>
> By using files (i.e. format cplexlp) is easy to express these
> restrictions but I would be interested in using the API C.
With the GLPK interface and sparse matrix interfaces in general,
a unmentioned coefficient is set to zero by default.
--
Mike address@hidden
"There was a boy called Eustace Clarence Scrubb,
and he almost deserved it." -- C. S. Lewis