|
|
Optimierung mit SingularDie Prozedur solv_IP aus der Bibliothek
intprog.lib berechnet die optionale Lösung:
LIB"intprog.lib";
intmat A[2][4]=2,4,3,1,7,2,4,0;
intvec b=72,79;
intvec c=10,3,1,8;
intvec solution_vector=solve_IP(A,b,c,"pct");
solution_vector;
//-> 1,6,15,1
|
| |
|
| Karlsruhe | http://www.singular.uni-kl.de/ |