Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  uniform data entry

    Posted Mon October 29, 2018 03:44 AM

    Originally posted by: A.Omidi


    hello everyone

    I want to create uniform data for my problem.

    My data are:

    int Nbjobs  = ...;
    int Nbagent = ...;
    range jobs   = 1..Nbjobs;
    range agents = 1..Nbagent;

    float p[agents][jobs] = ...; 
    float w[agents][jobs] = ...;
    float c[agents] = ...;

    I need to create automatic uniform data. For instance:

    float p[agents][jobs] = uniform(10,20) // that opl create automaticaly data from uniform distribution.

    Could you tell me how can I do it, please?

     

    Best regards

     

     

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: uniform data entry



  • 3.  Re: uniform data entry

    Posted Sun November 04, 2018 07:23 AM

    Originally posted by: A.Omidi


    Dear Mr. Fleischer

    Thanks for your replay.

    But could you please tell me, do exist a way for random data generation (such as normal distribution or another method except rand function) in the OPL language?

     

    Best regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: uniform data entry

    Posted Mon November 05, 2018 03:46 AM