▍1. BinaryIntegerProg
说明: 也在找关于这方面的资料着~~我是有matlab程序,但是在Java里没法触发调用它~~ 付上matlab程序,有需要的自己拿吧。 function BinaryIntegerProg(f_file_name, A_file_name, b_file_name, Aeq_file_name, beq_file_name,write_file_name) f = load(f_file_name) A = load(A_file_name) b = load(b_file_name) Aeq = load(Aeq_file_name) Beq = load(beq_file_name) x = bintprog(f, A, b, Aeq, beq) fp = fopen(write_file_name, w ) fprintf(fp, d\n ,x) fclose(fp)(good daima!)