Research Article

Solving the 0/1 Knapsack Problem by a Biomolecular DNA Computer

Algorithm 1

For to
  For down to
      Separate
      Combine ( )
The capacity of knapsack is ,
  Discard tubes
  Combine ( )
For to
  For down to
      Separate
      Combine
Read ; else if it was empty then:
  Read ; else if it was empty then:
  Read ; else if it was empty then:
  
  Read ; else if it was empty then:
  Read ;