Searched refs:NCOLS (Results 1 - 2 of 2) sorted by relevance
/barrelfish-master/usr/eclipseclp/Kernel/src/ |
H A D | eg_cc_mip.cc | 41 #define NCOLS 3 macro 44 double req[NROWS][NCOLS] = { 49 double pc[NCOLS] = { 92 EC_refs Vars(NCOLS); 101 leq( VarList * list(NCOLS,req[0]), 8.0); 102 leq( VarList * list(NCOLS,req[1]), 10.0); 104 maximize(VarList * list(NCOLS,pc), Profit); 116 for (i=0; i<NCOLS; i++)
|
H A D | eg_c_mip.c | 40 #define NCOLS 3 macro 43 double req[NROWS][NCOLS] = { 48 double pc[NCOLS] = { 113 Vars = ec_refs_create_newvars(NCOLS); 119 eq( times(varlist, ec_listofdouble(NCOLS,pc)), ec_ref_get(Profit)); 120 leq( times(varlist, ec_listofdouble(NCOLS,req[0])), ec_double(8.0)); 121 leq( times(varlist, ec_listofdouble(NCOLS,req[1])), ec_double(10.0)); 123 maximize( times(varlist, ec_listofdouble(NCOLS,pc)), ec_ref_get(Profit)); 135 for (i=0; i<NCOLS; i++)
|
Completed in 29 milliseconds