On Sun, 5 Jun 2022, Andrew Makhorin wrote:

> -------- Forwarded Message --------
>
> Date: Fri, 3 Jun 2022 16:46:42 -0500
> Subject: GUSEK exercise review support request
> To: m...@gnu.org
> From: Román Leonardo Rodriguez Florián <rleonardorodrig...@gmail.com>
>       Kind regards Andrew,
>
>       I hope you are very well, I would like to ask for your support, if you 
> can help me by reviewing the GUSEK exercise that I am sending you attached,
>       I think I am indexing wrong.
>
>       Reading model section from A_mixture_problem(ALGEBRAICO).mod...
>       A_mixture_problem(ALGEBRAIC).mod:23: syntax error in literal set
>       Context: i ] ; subject to REQ_MIN_SEM { i in seeds } : sum { i in
>       MathProg model processing error

the version in the attachment seems to run. Apart from the sum braces,
indexing needed to be swapped, since in the data the "NORMAL",
"ESPECIAL" and "EXTRA" lines correspond to the 1st array index i. And a
few data entries were missing (I set them to 0, which may not be the
wanted).

Best Regards, Hartmut

Attachment: Un_problema_de_mezclas(ALGEBRAICO).mod
Description: application/xml-dtd

Reply via email to