Coder Social home page Coder Social logo

Comments (4)

rg20 avatar rg20 commented on June 4, 2024

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.

immnas avatar immnas commented on June 4, 2024

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.

rg20 avatar rg20 commented on June 4, 2024

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.

Iroy30 avatar Iroy30 commented on June 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.