Skip to content

Challenge 2 routines to process input and solution files for dataset checking and solution scoring. Challenge 3 routines are under development and will be available under C3DataUtilities.

License

Notifications You must be signed in to change notification settings

GOCompetition/C2DataUtilities

Repository files navigation

C2DataUtilities

GO Competition Challenge 2 Utility Codes. Routines to process input and solution files for dataset checking and solution scoring. See license.txt for public domain license.

GO Competition Challenge 3 Utility Codes are under development and will appear as C3DataUtilities.

data_utilities Python package

To make the Python modules in data_utilities/ available as a package "data_utilities", do:

$ python -m pip install -e .

This uses the setup.py and setup.cfg files here. Then you can import from data_utilities, as in:

from data_utilities.data import Data
from data_utilities.evaluation import Evaluation

File structure

data_utilities/ python code files

data.py classes to store data for a problem instance

read
check
scrub
write

evaluation.py classes to evaluate a solution to a problem instance

infeasibility_solution.py

cost_utils.py

check_data.py

scrub_data.py

construct_infeasibility_solution.py

data/ some sample data

work.sh workflow, including copying the data files of a scenario, checking, scrubbing, checking again, constructing the infeasibility solution, evaluating the infeasibility solution, doing a submission to the competition platform with the infeasibility solver as the solver, evaluating the submission

check_data.sh

scrub_data.sh

construct_infeasibility_solution.sh

evaluate_solution.sh

do_submission.sh duplicates the commands that are run in a submission to the competition platform with the infeasibility solver as the solver

MyPython1.py timed portion of the submission

MyPython2.py loosely timed portion of the submission

About

Challenge 2 routines to process input and solution files for dataset checking and solution scoring. Challenge 3 routines are under development and will be available under C3DataUtilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published