Hi,

A product of variables is actually a nonlinear term. But if one of the factors 
is an integer then it is possible to transform the product of variables 
equivalently into a system of linear inequations. Please see 
http://coliop.org/download/CMPL.pdf beginning at page 43.

Cheers

Mike 



Am 13.09.2012 um 13:19 schrieb Andrew Makhorin:

> -------- Forwarded Message --------
> From: jjqcat jjqcat <[email protected]>
> To: [email protected]
> Subject: 
> Date: Thu, 13 Sep 2012 11:01:43 +0800
> 
> Hi, I don't know how to represent this formula:
> 
> both p and KS  are varibles, how to use multiplication for tow vars
> 
> s.t. psiM{i in I, j in J, k in  K}: ms[j,k] = p[i,k] * KS[j,k] ;
> 
> but GLPK will report  multiplication of linear forms not allowed, any
> other way to express it?
> 
> 
> Thanks
> jjqcat
> 
> 
> 
> 
> _______________________________________________
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to