Coefficient


Coefficients are normally values read from file (or are calculated from values on file). They must be declared before use in a Coefficient statement.

Coefficient

(All,i,COM) TOTSALES(i) # Total sales of commodities #;

(All,i,COM)(all,j,IND) INTINP(i,j);

(Real) GNP # Gross National Product #; !by default can vary !

(Integer) NCOM # Size of set COM #; !by default cannot vary !

(real, parameter) (all,j,COM) ALPHA(j); ! cannot vary!

(integer,non_parameter) NCOUNT; ! CAN vary!

(GE 20.0) (all,i,COM) DVHOUS(i); ! range of values is restricted !

The PARAMETER/NON_PARAMETER default can be reset for real coefficients by use of a Default statement.

New for GEMPACK 9.0

You can make specified upper or lower bounds the default:

Example.

Coefficient(DEFAULT=LOWER_BOUND GT 0.0) ; ! applies to X,Y and V !

Coefficient X ;

(all,i,IND) Y(i);

Coefficient (GT -1.0) Z ;

Variable(LEVELS) (all,i,IND) V(i) ;

Coefficient(DEFAULT=LOWER_BOUND OFF) ;

back to TABLO language contents



URL of this topic: www.copsmodels.com/webhelp/tabmate/hc_coefficient.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage