Decision Optimization

 View Only
Expand all | Collapse all

Data has already been set: dont know how to correct the error

  • 1.  Data has already been set: dont know how to correct the error

    Posted Thu December 01, 2022 12:37 PM


    ------------------------------
    Maria Luis Albuquerque
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Data has already been set: dont know how to correct the error

    Posted Sat December 03, 2022 02:51 AM
    Hi

    the values of "energyconsmption" are in the .dat so you should change your model and turn

    float energyconsmption[locations];​

    into

    float energyconsmption[locations]=...;​


    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------