Changeset 3687


Ignore:
Timestamp:
Feb 21, 2011 12:37:52 AM (9 years ago)
Author:
wehart
Message:

Removing support for a 'mipgap' button.

Location:
coopr.age/trunk/coopr/age
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coopr.age/trunk/coopr/age/CooprAgeCore.py

    r3164 r3687  
    4949        self.solver = 'glpk'
    5050        self.solverOptions = ''
    51         self.solverMipGap = 0
     51        #self.solverMipGap = 0
    5252        self.keepTempFiles = False
    5353
     
    7575        self.run_options["solver"] = None
    7676        self.run_options["solver-options"] = None
    77         self.run_options["solver-mipgap"] = None
     77        #self.run_options["solver-mipgap"] = None
    7878        self.run_options["timelimit"] = None
    7979        self.run_options["log"] = None
  • coopr.age/trunk/coopr/age/UIProblem.py

    r3162 r3687  
    567567        self.layout.addWidget(self.timeLimitText,2,1)
    568568
    569         self.solverMipGapButton = QCheckBox("Solver MIP gap:", self)
    570         self.solverMipGapText = QLineEdit(self)
    571         self.layout.addWidget(self.solverMipGapButton,3,0)
    572         self.layout.addWidget(self.solverMipGapText,3,1)
     569        #self.solverMipGapButton = QCheckBox("Solver MIP gap:", self)
     570        #self.solverMipGapText = QLineEdit(self)
     571        #self.layout.addWidget(self.solverMipGapButton,3,0)
     572        #self.layout.addWidget(self.solverMipGapText,3,1)
    573573
    574574
     
    645645            self.timeLimitText.setText(value)
    646646
    647         self.solverMipGapButton.setChecked(False)
    648         value = run_options["solver-mipgap"]
    649         if value is not None:
    650             self.solverMipGapButton.setChecked(True)
    651             self.solverMipGapText.setText(value)
     647        #self.solverMipGapButton.setChecked(False)
     648        #value = run_options["solver-mipgap"]
     649        #if value is not None:
     650            #self.solverMipGapButton.setChecked(True)
     651            #self.solverMipGapText.setText(value)
    652652
    653653        self.streamButton.setChecked(False)
     
    711711            run_options["timelimit"] = self.timeLimitText.text()
    712712
    713         run_options["solver-mipgap"] = None
    714         if self.solverMipGapButton.isChecked():
    715             run_options["solver-mipgap"] = self.solverMipGapText.text()
     713        #run_options["solver-mipgap"] = None
     714        #if self.solverMipGapButton.isChecked():
     715            #run_options["solver-mipgap"] = self.solverMipGapText.text()
    716716
    717717        run_options["stream-output"] = None
Note: See TracChangeset for help on using the changeset viewer.