Skip to main content

Description:

This is a mini version of super vrp version 3 that include three main modules:

  1. create base_data from input json

  2. create vrp_data from base_data

  3. vrp_solution from vrp_data

How to use this package?

installation:

!pip install supervrpv3

import supervrpv3 as superv3

store file 'stm_input.json' in the same folder of the main code

  1. create base_data

    req_body = open('stm_input.json', encoding='utf-8-sig')

    client = 'test'

    base_data = superv3.get_base_data(req_body, client)

  2. create vrp_data

    service = superv3.VRPService(base_data, client)

    service.preprocessing() # run only one time for each input

    vrp_params = service.param_preprocessor.vrp_params

    vrp_data = service.create_vrp_data(vrp_params)

  3. create vrp_solution

    context = superv3.ContextManager.from_vrp_data(vrp_data, vrp_params)

    vrp_solution = superv3.VRPSolution.from_vrp_data(vrp_data)

Release files for supervrpv3 0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for supervrpv3 0.9
File Size Uploaded
supervrpv3-0.9.tar.gz 25.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for supervrpv3 0.9
File Interpreter ABI Platform
supervrpv3-0.9-py3-none-any.whl Python 3 none any Details

Total release size: 50.3 kB

Release files / supervrpv3-0.9.tar.gz

Download URL supervrpv3-0.9.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
863a05410720beeb986939b37d678ed8f37bd053b302c7a0fe5cd59ed5d0a674
BLAKE2b-256 checksum
How to use checksums
a570c1da04ccc0947fda489296d0c22a740d847a2a272d7b4b8f412e9f7903da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / supervrpv3-0.9-py3-none-any.whl

Download URL supervrpv3-0.9-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95c65d377a98a74f190b02af837f4565c3dd1867985b8bb3104013db97e1e28f
BLAKE2b-256 checksum
How to use checksums
96ed5a002b3e4fb0bbfe63552ce323f92cdbf2403073bbe7a78e0b1cbed66f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page