help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Error: multiplication of linear forms not allowed


From: Michael Hennebry
Subject: Re: [Help-glpk] Error: multiplication of linear forms not allowed
Date: Sun, 19 Jun 2011 10:47:11 -0500 (CDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Sun, 19 Jun 2011, Sarad AV wrote:

How do we solve Integer Linear Programming formulations of the Travelling
Salesman Problem as in this URL
http://support.sas.com/documentation/cdl/en/ormpug/63352/HTML/default/viewer.htm#ormpug_milpsolver_sect020.htm

where there is a multiplication operator in the Objective function.

glpsol complains " multiplication of linear forms not allowed".

Is there an easy fix to this?

My guess is that for some reason glpsol thinks
c is variables instead of constants.

That is what needs fixing.

--
Michael   address@hidden
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."



reply via email to

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