Qurak

KnapsackSolve

Không khả dụng

KnapsackSolve[{cost1, cost2, …}, maxtotalcost]
KnapsackSolve[{{payoff1, cost1}, {payoff2, cost2}, …}, maxtotalcost]
KnapsackSolve[{{payoff1, cost1, maxcount1}, …}, maxtotalcost]
KnapsackSolve[items, {maxtotalpayoff, maxtotalcost}]
KnapsackSolve[items, {maxtotalpayoff, maxtotalcost, maxtotalcount}]
KnapsackSolve[<| label1 -> itemspec1, … |>, maxtotals]

Liên quan

Tất cả 6300 hàm · Dùng cái này từ một client MCP