Data Format

Download the Challenge 3 Data Format document dated December 1, 2022 (v1.1.2). List of updates and previous versions available here.


Challenge 3 input data consists of a single JSON (JavaScript Object Notation) file. JSON is also used for the solution file that must be written by the solver and is used to score the results. JSON is relatively easy to learn, read and write, while also easy for software to parse and generate. It is text-based, lightweight, and has an easy-to-parse data format requiring no additional code for parsing. The Python code (see below) uses the Python library Pydantic that has built-in support for JSON encoding and decoding to create a custom validation mechanism that uses the LaTeX version of the Data Format to define the input syntax.

Reading the JSON input files

All of the input JSON files have been checked for consistency with the Challenge 3 Data Format document by a Python code called Entrants may want to use this code as an example of how to read and parse the input. The code uses two Github repositories:, which has the source, and, which invokes the Pydantic model.

Installation instructions may be found in C3DataUtilities/ Please check frequently for updates.

Reading the JSON solution files

The Competition uses datautilities/ in C3DataUtilities to check the feasibility and calculate the objective for scoring. We recommend that Entrants also use this code to check their solution files for proper syntax and correctness.