-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from cdanielmachado/development
Integrate development branch
- Loading branch information
Showing
20 changed files
with
112 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
from future import standard_library | ||
standard_library.install_aliases() | ||
|
||
import os | ||
from configparser import ConfigParser | ||
from framed import set_default_solver, set_default_parameter, Parameter | ||
from reframed import set_default_solver | ||
from reframed.solvers.solver import default_parameters, Parameter | ||
|
||
__version__ = '1.2.2' | ||
__version__ = '1.3.0' | ||
|
||
project_dir = os.path.abspath(os.path.dirname(__file__)) + '/' | ||
|
||
config = ConfigParser() | ||
config.read(project_dir + 'config.cfg') | ||
|
||
set_default_solver(config.get('solver', 'default_solver')) | ||
set_default_parameter(Parameter.FEASIBILITY_TOL, config.getfloat('solver', 'feas_tol')) | ||
set_default_parameter(Parameter.OPTIMALITY_TOL, config.getfloat('solver', 'opt_tol')) | ||
set_default_parameter(Parameter.INT_FEASIBILITY_TOL, config.getfloat('solver', 'int_feas_tol')) | ||
default_parameters[Parameter.FEASIBILITY_TOL] = config.getfloat('solver', 'feas_tol') | ||
default_parameters[Parameter.OPTIMALITY_TOL] = config.getfloat('solver', 'opt_tol') | ||
default_parameters[Parameter.INT_FEASIBILITY_TOL] = config.getfloat('solver', 'int_feas_tol') |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from __future__ import print_function | ||
import pandas as pd | ||
from subprocess import call | ||
import os | ||
|
Oops, something went wrong.