Menu

Loading a file for testcase in knapsack problem

Luis Plata
2017-01-22
2017-01-22
  • Luis Plata

    Luis Plata - 2017-01-22

    Hi
    Im trying to solve some knapsack instances, with different data from the ones preloaded in opt4j. My problem is that i cant find the right format to load those files. Any advice with this issue would be aprreciated.

    Thanks

     
  • Felix Reimann

    Felix Reimann - 2017-01-23

    Hi Luis,

    according to the Javadoc of the KnapsackProblemFile (http://opt4j.sourceforge.net/javadoc/3.1.4/org/opt4j/benchmarks/knapsack/KnapsackProblemFile.html) it should be the format as described there: http://www.tik.ee.ethz.ch/sop/download/supplementary/testProblemSuite/

    Does this work for you?

    Best regards,
    Felix

     

Log in to post a comment.