https://github.com/kenny2github/utek-2022
https://github.com/kenny2github/utek-2022
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kenny2github/utek-2022
- Owner: Kenny2github
- Created: 2022-01-15T15:40:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-15T23:13:16.000Z (over 4 years ago)
- Last Synced: 2025-04-07T02:45:56.747Z (about 1 year ago)
- Language: Python
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Optimizer
A project for UTEK 2022.
## Usage
Run the following commands while in the root of the project.
### Windows
```
run
```
For example `run 3 b` to run from `inputs\3b.in.txt`.
### Linux
```
./run
```
For example `./run 3 b` to run from `inputs/3b.in.txt`
### Python
```
-m optimizer [input filename] [output filename]
```
If `[input filename]` is unspecified, input is read from `stdin`. You can redirect input from files with `(above command) < (filename)`.
If `[output filename]` is unspecified, output is printed to `stdout`. You can redirect output to files with `(above command) > (filename)`.
Note that some extraneous informational output is printed to `stderr`, which is not captured by either of the above methods (and will thus be safely excluded from being written to the file).