Not every such representation is valid, as the size of objects may exceed the capacity of the knapsack.
Tidak setiap representasi seperti ini valid, karena ukuran objek dapat melebihi kapasitas ransel.