CPLEX Seminar - Solving the VRPTW in Java with column generation

Sdílet
Vložit
  • čas přidán 13. 03. 2014
  • Column generation
    Find the code at github.com/zonbeka/Cplex-Exam...
  • Zábava

Komentáře • 29

  • @harperli3671
    @harperli3671 Před 7 lety

    thank you soo much, this video saved my life.

  • @raminsaebinia3958
    @raminsaebinia3958 Před 5 lety

    I'm a master of mining engineering student of TMU
    Its very helpful for me. Thanks.

  • @rahulramachandran463
    @rahulramachandran463 Před 8 lety +2

    Hi Hernan, You should totally make Videos with C++ API too

  • @leilakh7648
    @leilakh7648 Před 8 lety

    hi sir Hernan, thank you soo much for this tutorial it is extremely useful, am Phd student in operational research and i use the same methodology to solve my problem " the graph coloring problem via column generation "but i have a problem in the masterProblem my objectif is to minimize x(s) st: sum x(s) >=1 foreach i in V my question is how I can implement this constrainte without calling the IloNumVar .

  • @batocha5582
    @batocha5582 Před 5 lety

    Thanks for the tutorials. They're very useful. I have couple of questions regarding modifications of the program: 1- if we are to change the program to only work with one vehicle how we can control the numbers. 2- also can you please give any suggestions to add fuel station to the path if required ?
    Thanks in advance.
    Any help would be appreciated.

  • @ernestonunes3314
    @ernestonunes3314 Před 9 lety +1

    Thank you for this tutorial it is extremely useful!
    I am not a OR person, so I have a very basic question.
    Would you say that this method you are using here is
    branch and price? If not how is it different?
    Thank you,

  • @jaimevenne4238
    @jaimevenne4238 Před 6 lety

    Hi, thank you very much for your tutorial.
    I am currently trying to convert it to .NET, but I come across a problem. Whenever I apply a vehicle capacity of < 12, no problems occur, but if I increase it to 24, many of the nodes are skipped and the 'zero_reduced_cost_AbortColGen' is reached prematurely.
    I am not sure what causes this problem and I don't know if anyone can guess it from this limited amount of context. However, if someone could give me a suggestion as to what might be causing this problem, I would be extremely grateful.
    Thanks again.

  • @sepidelotfi6413
    @sepidelotfi6413 Před 7 lety

    thanks for this video, I have a question, I want to write a constraint for master problem like this : 0≤∑y ≤1 instead of ∑y =1 that you used, I am writing it this way: row_taxis.put(taxi, cplex.addRange(0, 1); instead of row_taxis.put(taxi, cplex.addRange(1, 1) but in the model file I am seeing something like this: taxi_0#3: y.(T0)(P0) + y.(T0)(P1) + y.(T0)(P2) - Rgtaxi_0#3 = 0
    could you please explain how I should use this method to get the correct output?
    thanks

  • @Saman863
    @Saman863 Před 8 lety

    Is there a way of fixing the number of vehicles here?

  • @h_hb5660
    @h_hb5660 Před 7 lety

    Hi Hernan,
    I am actually having a problem with callbacks in which I'd like to put some lazy constraints in my formulation.
    Found that you use it in the subproblem of this method but I still can't discover how to use such thing.
    Any suggestion??

  • @sezgitekil2373
    @sezgitekil2373 Před 4 lety

    Can we implement CG by using docplex ?

  • @yelinfu8665
    @yelinfu8665 Před 8 lety

    This is a Ph.D student from City University of Hong Kong. Could you please tell me how to generate stochastic scenario-specific costs and material requirements, and related probabilities?

  • @Dhakimhabibi
    @Dhakimhabibi Před 10 lety

    Hi Hernán,
    I enjoyed to follow you tutorial.
    But since somebody like me who dont know too much about java, it might be better if you can make another video with easier algorithm with the same problem (VRPTW).
    Thanks

  • @muhammadadnantarrar6819

    hello dear, can you record a video lecture on column and constraints generation algorithm?

  • @olibruno
    @olibruno Před 10 lety +1

    Could you provide the PDF. It'll help me a lot to learn

    •  Před 10 lety +4

      dl.dropboxusercontent.com/u/208319/VRPTW.pdf

    • @olibruno
      @olibruno Před 10 lety

      Thank you a lot.

  • @olibruno
    @olibruno Před 10 lety

    Hello Hernan, what's up? Well, I'm student of production engineering here in Brazil and I am finishing my graduation. My final paper is about facility location. I have a doubt, I mean, I wanna know if I could include a covering range in a p-median problem. I have the cost matrix (distances between facility and clients), now I wanna put a coverage radius.

    •  Před 10 lety

      Yeah, of course, I don't see any problem. Just make sure you model the constraints properly and that's it.

    • @olibruno
      @olibruno Před 10 lety

      Is there a problem if I send you my code?, just to take a look, it's small and I have this doubt...

    • @olibruno
      @olibruno Před 10 lety

      Hernán Cáceres /*********************************************
      * OPL 12.5 Model
      * Author: bruno
      * Creation Date: 04/03/2014 at 16:23:42
      *********************************************/
      //Data
      int n = ...; //No de candidatos
      int m = ...; //No clientes
      int p = ...; //No de facilidades a localizar
      range facility = 1..n; //Intervalo do índice das facilidades
      range client = 1..m; //Intervalo do índice dos clientes
      //Variables
      dvar boolean X[facility][client]; //matriz de designação do cliente para cada facilidade
      dvar boolean Y[facility];
      int demand[client] = ...; //matriz de demanda por cliente
      float dist[facility][client] = ...; // matriz de distâncias entre facilidades e clientes
      //Objective
      minimize
      sum(i in facility, j in client)
      demand[j]*dist[i][j]*X[i][j];
      //Constraints
      subject to
      {
      forall(j in client)
      sum(i in facility)
      X[i][j] == 1; // designação de cada facilidade a um único cliente
      sum(i in facility)
      Y[i] == p; // garante a localização de p facilidades
      forall(i in facility, j in client)
      X[i][j] - Y[i]

    • @olibruno
      @olibruno Před 10 lety

      I don't know how and where to put the coverage radius...

    •  Před 10 lety

      Bruno Oliveira Hey Bruno, I don't know exactly what you mean, there are a few different interpretation that can be derived from "coverage radius". If you give me a more detailed description I might be able to help you. (each facility must cover no more than/at most a certain radius; each client should have a facility within a certain distance; etc.)