Comments (4)
Hi @immnas,
It is possible to add multiple capacities. These are represented as capacity dimensions in the solver. For each capacity constraint, you can call data_model.add_capacity_dimension
if you are using python API or have multiple columns in task_data["demand"]
and fleet_data["capacities"]
if you are using server API. For each dimension, there should be one vector capacities
of length fleet_size
and demand
of length num_orders/tasks
.
For the example you mentioned, you can have three separate dimensions for height, width, and length. However, this means that sum of the heights of all goods in the vehicle will be less than the height of the vehicle and similarly for length and width. This constraint may be too restrictive.
from cuopt-resources.
ok, Do I get the route planning where it will mentioned ..how many vehicles and which goods (vehicle wise) for any particular destination?
from cuopt-resources.
Yes. The solver returns an Assignment
object that has all the information. There are several notebook examples for your reference here.
If you are using the server API, you can find examples here.
from cuopt-resources.
Hi @immnas Following up on the issue, were you able to add the add the constraints and inspect the results?
from cuopt-resources.
Related Issues (18)
- [QST] pickup&delivery HOT 21
- [QST] how to input data for "set_task_data" api HOT 2
- How to allow jypter notebook outside the local network? [QST] HOT 3
- Set Solver Config Server API HOT 2
- How to solve a routing problem with both vehicle start end constraints and pickup delivery constraints?[QST] HOT 6
- Reason=cudaErrorIllegalAddress:an illegal memory access was encountered [BUG]: HOT 3
- Is there a way to get partial solution? [QST] HOT 2
- New Release 22.12 HOT 2
- Matrices in case of sub-instances HOT 2
- How to pass set_order_time_windows ? [QST] HOT 1
- Objective function HOT 2
- [QST] in case of failure can i get the failure reason HOT 5
- [BUG]: Technician/Vehicle get assigned to lunch break location even when no orders got assigned
- [QST]: Why is the cuopt release so bad architecturally?
- [QST]: can I add multiple sources
- [QST]: NVIDIA cuOpt failure - Limited version of NVIDIA cuOpt has expired HOT 6
- [BUG]: This is a Test - Disregard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuopt-resources.