1. 10 Oct, 2018 1 commit
    • Sébastien Villemot's avatar
      Add copy constructors / assignment operators for the DataTree class hierarchy · f2cf86b7
      Sébastien Villemot authored
      In particular, it is necessary to turn back DataTree::AddVariable() into a
      non-virtual method, because it is called from DataTree's constructor. Enforcing
      the absence of leads/lags is now done using a new boolean DataTree::is_static.
      
      Take advantage of the new copy constructor for handling
      PlannerObjectiveStatement more elegantly.
      
      Unfortunately it is not possible to implement *move* constructor / assigment
      operators, because the reference ExprNode::datatree is not mutable.
      f2cf86b7
  2. 05 Oct, 2018 1 commit
  3. 04 Oct, 2018 1 commit
  4. 01 Oct, 2018 1 commit
  5. 28 Sep, 2018 1 commit
  6. 25 Sep, 2018 1 commit
  7. 14 Sep, 2018 1 commit
  8. 05 Sep, 2018 1 commit
  9. 22 Aug, 2018 1 commit
  10. 17 Aug, 2018 1 commit
  11. 18 Jul, 2018 2 commits
  12. 17 Jul, 2018 2 commits
  13. 27 Jun, 2018 2 commits
  14. 05 Jun, 2018 3 commits
  15. 04 Jun, 2018 8 commits
  16. 29 May, 2018 2 commits
  17. 28 May, 2018 4 commits
  18. 25 May, 2018 1 commit
  19. 24 May, 2018 2 commits
    • Sébastien Villemot's avatar
      bb4b5993
    • Sébastien Villemot's avatar
      Fix bug in temporary terms array in the presence of model local variables · 164a6f30
      Sébastien Villemot authored
      In the presence of MLVs, the temporary terms indexing was corrupted. The code
      was using the implicit assumption that the ExprNodeLess ordering was giving the
      same ordering as the temporary terms indexes ordering. But MLVs can be higher
      in ExprNodeLess ordering than some other temporary terms, while they have the
      lowest temporary terms index, hence the bug.
      
      Fix this by no longer relying on the ExprNodeLess ordering, and rather use a
      full map<ExprNode *, int> for ModelTree::temporary_terms_idxs. By the way,
      simplify the code by removing a few useless data structures (e.g.
      ModelTree::temporary_terms_idxs_*).
      164a6f30
  20. 28 Mar, 2018 1 commit
  21. 15 Feb, 2018 1 commit
  22. 06 Nov, 2017 1 commit
  23. 28 Aug, 2017 1 commit