Changeset 3086


Ignore:
Timestamp:
Oct 13, 2010 11:27:15 AM (11 years ago)
Author:
khunter
Message:

Fix Python script output from:

gurobi_run(/path/to/file1, /path/to/file2)

to

gurobi_run('/path/to/file1', '/path/to/file2')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.plugins/trunk/coopr/plugins/mip/GUROBI.py

    r3085 r3086  
    121121           problem_filename = self._problem_files[0]
    122122           solution_filename = self.soln_file
    123         gurobi_script_file.write("gurobi_run("+problem_filename+", "+solution_filename+")"+"\n")
     123        gurobi_script_file.write("gurobi_run%s\n" % str((problem_filename, solution_filename)))
    124124        gurobi_script_file.write("quit()\n")
    125125        gurobi_script_file.close()
Note: See TracChangeset for help on using the changeset viewer.