Re: Slow performance on "Select minimum" task

Jan van Rijn <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <CAJ=jOAwG1ZAbVAKUCiwYgkGbG1TrRgXssj-mORTROR5z78JDww@mail.gmail.com>
2018-06-05 23:39 GMT-04:00 Michael Hennebry <[email protected]>
:

> On Tue, 5 Jun 2018, Jan van Rijn wrote:
>
> I need to add two things:
>> - It is my conjecture that there should be an additional constraint, i.e.,
>> y[r,c] > 0 (Otherwise non-selected rows could participate towards a lower
>> score)
>>
>
> Correct,
>
> - M[r,c] should contain positive values (which guarantees that y[r,c] == 1
>> iff x[r] - SUM x[s] == 1)
>>
>
> I'm pretty sure that is not necessary.
> the y's depend only on the x's and the order of the M values.
> In any case, I think the zeros in your original problem
> will not be much of an issue.
>


I should rephrase: The array should contain values >= zero.
(negative values are an issue, but these can be scaled away easily. )

Thanks again!

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.