CHILS_Python
Python wrapper for the CHILS heuristic
How to Use
The following example illustrates how to apply the heuristic. It creates a graph with three vertices and then runs the full CHILS algorithm using four concurrent solutions for 20 seconds.
import chils
solver = chils.CHILS()
solver.add_vertex(10)
solver.add_vertex(10)
solver.add_vertex(20)
solver.add_edge(0, 1)
solver.add_edge(0, 2)
solver.run_full(20.0, 4, 0)
print(solver.get_solution_weight())
Development
To clone this repository, including the CHILS submodule, run:
git clone --recursive https://github.com/KennethLangedal/CHILS_Python.git
If you have already cloned the repository, you can initialize the submodule with:
git submodule update --init --recursive
Metadata
Release files for CHILS 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| chils-1.0.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| chils-1.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| chils-1.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl | Python 3 | none | Linux glibc 2.17+ x86-32 | Details |
| chils-1.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| chils-1.0.2-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details |
| chils-1.0.2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 2.7 MB
Release files / chils-1.0.2-py3-none-win_amd64.whl
| Download URL | chils-1.0.2-py3-none-win_amd64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0c964db55d98840ce3fea04750ccac57716aa185ab79928431043cc8221d76da
|
|
BLAKE2b-256 checksum How to use checksums |
6fbd627251bb7a2dd0c216337b31806d523166deeb72df05b7d9cc6dbfd79882
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / chils-1.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | chils-1.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 88.6 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3edb91bb9cfae402a1c3a69e09d6070b069271cf06ce917b78f1e75d30abe07b
|
|
BLAKE2b-256 checksum How to use checksums |
7ff2237632d3e818870b22fd2e8890bde64dd8c80276e0e1ab0b6697fa3f060d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / chils-1.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | chils-1.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 95.7 kB |
| Tags | Linux glibc 2.17+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
7543352ae6964d082a9eaac12634c3f3b023f9d67f970c602faa27b80fa95732
|
|
BLAKE2b-256 checksum How to use checksums |
1c7c4f3be7269ffe1255a3056dcc20c54a1e564a6b1fd385bbe6298d289f01c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / chils-1.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | chils-1.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 90.5 kB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
73b48bb8dae89a230d7ab677c241352a05a10c34beaf5f8624bede5ac1cf2b9e
|
|
BLAKE2b-256 checksum How to use checksums |
1c045bbd113640373ad22b559b7c318db61fb7ee2663663a07c33a45a752f3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / chils-1.0.2-py3-none-macosx_11_0_x86_64.whl
| Download URL | chils-1.0.2-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 618.2 kB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
5253835ddea7a81f8c0c47d26e5e842c1036166816fce06185e180082d7e2d9b
|
|
BLAKE2b-256 checksum How to use checksums |
a9d6ef28315d4ff27fabdb442dd2f3f6579ca9538cbf686c501497fe3217a9b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / chils-1.0.2-py3-none-macosx_11_0_arm64.whl
| Download URL | chils-1.0.2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 618.2 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1baef857bc3298c986e265272fe6e391056bfed439ba2d2bfb46aed4a8d5ffbb
|
|
BLAKE2b-256 checksum How to use checksums |
3eaab6dbaae102d0ac883bcd9e2085861b2fc93fc5a2bf1d4fb89bbf1ba5aaab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|