Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

reproduce gantt charts

  • 1.  reproduce gantt charts

    Posted Wed July 18, 2018 06:06 AM

    Originally posted by: Janisch


    Hello,
    if I save my results and then want to call them back later, that works too. Only I can not look at the Gantt charts anymore. It simply displays an empty window with the current date. Is it somehow possible to show the Gantt Charts anyway?

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 10:53 AM

    Hi,

    are you sure your model is feasible?

    Can you attach your .mod and .dat so that other users could try and help you ?

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 3.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 11:51 AM

    Originally posted by: Janisch


    Here is my model. the two images show the gantt chart 1 directly after the calculation and the image gantt chart 2 after I have restored the results.

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 4.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 01:19 PM

    what do you mean by restoring the results ?

    regards


    #DecisionOptimization


  • 5.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 01:45 PM

    Originally posted by: Janisch


    Exactly this function I mean. And if I restore a result, then the Gantt chart will no longer be displayed correctly when I click on the corresponding variable.


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 6.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 02:00 PM

    Hi,

    I do not have that issue and I did the same.

    regards

    PS: If the issue is critical do not hesitate to log a support request

    http://www-01.ibm.com/support/docview.wss?uid=swg21512174


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 7.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 02:23 PM

    Originally posted by: Janisch


    That is strange. I turned to the service.
    I hope they can help me...


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 8.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 03:05 PM

    Do not hesitate to contact your IBM sales representative


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 9.  Re: reproduce gantt charts

    Posted Wed July 18, 2018 05:29 PM

    Originally posted by: Janisch


    I am a student. I don´t have a sales representative :)


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 10.  Re: reproduce gantt charts



  • 11.  Re: reproduce gantt charts

    Posted Thu July 19, 2018 08:36 AM

    Originally posted by: Janisch


     

    The support has referred me back here :)
    Are there any settings that I may not have adjusted and the appearance of the Gantt Charts (after I restored the results) will not work for me?

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 12.  Re: reproduce gantt charts

    Posted Fri July 20, 2018 04:34 AM

    Originally posted by: FredericDelhoume


    I tried with 12.8 on your model and it works fine, I am able to restore the Gantt.

    The save/restore feature seems to work on your machine too, as the "Table" tab (Tabelle in german) is present and should be filled wiith restored data.

     

    So my guess is that it is a display issue.

     

    Did you try to resize the Gantt window ?

    We have issues with Gantt and Charts component because they are based on Swing, that does not mix very well with the SWT components Eclipse (thus the OPL IDE) uses, because of different UI threads.

    So depending on JViews (Gantt), Eclipse, JVM versions we have some display bugs for these components.

    See this http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html article for technical details.

     

    Do you have something related in your log file (found in <workspace directory>/.metadata/.log) ?

     


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 13.  Re: reproduce gantt charts

    Posted Fri July 20, 2018 08:00 AM

    Originally posted by: Janisch


    Many thanks for your help!
    I have now saved a few new calculations and these work wonderfully. Maybe it was just a small bug.
    Where are the results stored? Does the program create a file?

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 14.  Re: reproduce gantt charts

    Posted Fri July 20, 2018 08:16 AM

    Originally posted by: FredericDelhoume


    The save feature serialized the entire UI model (project, contents of various views) in a custom, internal, non-documented and complicated format.

     

    If you are interested, files are saved in

    <workspace directory>/.metadata/.plugins/ilog.odms.ide.core/.history/<project name>/<configuration name>/<save id>

     

    you might be interested in srtatiomS+eqMap that contains values for the stationSeqMap variable.

    You will see lots of files that are used to repopulate the IDE views when calling "restore".

     

    If you want to save the Gantt for further inspection, you may have to write some Javascript post-processing code that saves to a format known by an external Viewer.

     


    #DecisionOptimization
    #OPLusingCPOptimizer