equal
deleted
inserted
replaced
44 |
44 |
45 int indices[1]; |
45 int indices[1]; |
46 indices[0]=i; |
46 indices[0]=i; |
47 char ctype[1]; |
47 char ctype[1]; |
48 switch (col_type){ |
48 switch (col_type){ |
49 case LEMON_INTEGER: |
49 case INT: |
50 ctype[0]=CPX_INTEGER;//'I' |
50 ctype[0]=CPX_INTEGER;//'I' |
51 break; |
51 break; |
52 case REAL: |
52 case REAL: |
53 ctype[0]=CPX_CONTINUOUS ;//'C' |
53 ctype[0]=CPX_CONTINUOUS ;//'C' |
54 break; |
54 break; |
63 char ctype[1]; |
63 char ctype[1]; |
64 status = CPXgetctype (env, lp, ctype, i, i); |
64 status = CPXgetctype (env, lp, ctype, i, i); |
65 switch (ctype[0]){ |
65 switch (ctype[0]){ |
66 |
66 |
67 case CPX_INTEGER: |
67 case CPX_INTEGER: |
68 return LEMON_INTEGER; |
68 return INT; |
69 case CPX_CONTINUOUS: |
69 case CPX_CONTINUOUS: |
70 return REAL; |
70 return REAL; |
71 default: |
71 default: |
72 return REAL;//Error! |
72 return REAL;//Error! |
73 } |
73 } |