Chương trình nguồn cho thuật toán Gomory 1 trình bày trong “Giáo trình quy hoạch rời rạc” thuộc Trang “Toán học” của Blog này.
#include
#include
#include
#include
#define M 30
#define N 30
double s[N+2][M+1],r,gz;
int kgd,kgd2,blap,blap2,sb,cmin,x0,ss;
int m,n,i,j,k,l,le,lc,tg,cs[N+2],nc[M+1];
unsigned long far *t; long int t1,t2;
char *s1,*s2; FILE *f1,*f2; Read the rest of this entry »