Go to the first, previous, next, last section, table of contents.
- hgpoly.optip(A,B,W)
-
:: 整数計画問題をグレブナー基底を用いて解く.
- return
-
リスト.
- A
-
非負整数を成分とする行列 (maximal rank のもの)を表すリスト
- B
-
非負整数を成分とするベクトルを表すリスト
- W
-
非負整数を成分とするベクトルを表すリスト
- A U = B を満たす非負の整数ベクトル U の中で,
内積 W U を最小化する U を戻す.
[0] import("tk_hgpoly.rr");
[2191] tk_hgpoly.optip([[1,1,1,1],[0,1,2,3]],[20,40],[1,1,1,0]);
[6,1,0,13]
- 参照
-
@xref{feasible}
ChangeLog
-
この関数は 2014-12-12 に commit された.
元版は h-mle/A-hg/Prog
Go to the first, previous, next, last section, table of contents.