Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  write to excel

    Posted 05/29/09 04:26 PM

    Originally posted by: SystemAdmin


    [shadi said:]

    hi,
    i have a column generation process, my final result are two tupleset, i declared these tupleset in the main model (is not a dvar variables) as following:
    tuple GlobalDutyDetails_T{
    int DutyIndx;
    int NbRegularTrips;
    float DrivingDistance;
    int DrivingTime;
    int NbEmptyTrips;
    float EmptyDrivingDistance;
    int EmptyDrivingTime;
    int Duration;
    int BreakTime;
    float DutyCost;
    };
    {GlobalDutyDetails_T}GlobalDutyDetails={};



    tuple DutyDetails_T {
        int TripIndx;
        int DutyNumber;
        int TripType;
        int TripNumber;
        string tripName;
        string FromPlace;
        string ToPlace;
        int Ftime;
        int Ttime;
    };

    {DutyDetails_T} DutyDetails={};
    i assigned them in the end of the main block by using some scripts.

    how i can write these tupleset to excel???

    thanks in advanced
    shadi


    #DecisionOptimization
    #OPLusingCPLEXOptimizer