Free cookie consent management tool by TermsFeed Policy Generator

Opened 7 years ago

Last modified 4 years ago

#2870 accepted enhancement

Update AutoDiff to newest version

Reported by: mkommend Owned by: gkronber
Priority: low Milestone: HeuristicLab 4.x Backlog
Component: ExtLibs Version: branch
Keywords: Cc:

Description

AutoDiff is now hosted on github https://github.com/alexshtf/autodiff/ and its version 1.1 has been release on November 10th, 2017 that includes (according to the release notes) major performance improvements and a newer API.

Furthermore AutoDiff is now available as nuget package.

Change History (12)

comment:1 Changed 7 years ago by gkronber

  • Owner set to gkronber
  • Status changed from new to accepted

comment:2 Changed 7 years ago by gkronber

  • Version set to branch

comment:3 Changed 7 years ago by gkronber

r15653: created a branch for this ticket.

comment:4 Changed 7 years ago by gkronber

r15654: added project for new version of AutoDiff

comment:5 follow-up: Changed 7 years ago by gkronber

Is the following an issue (for Hive execution?)

warning CS8002: Referenced assembly 'AutoDiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

comment:6 Changed 7 years ago by gkronber

r15655: fixed incorrect assembly reference in plugin file

comment:7 in reply to: ↑ 5 Changed 7 years ago by gkronber

Replying to gkronber:

Is the following an issue (for Hive execution?)

warning CS8002: Referenced assembly 'AutoDiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

Yes, at least this is not straight forward. Loading of all plugins and assemblies work but when a type from the assembly is actually instantiated (e.g. NLR -> Run) we get an exception.

FileLoadException: Could not load file or assembly 'AutoDiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
   at HeuristicLab.Problems.DataAnalysis.Symbolic.TreeToAutoDiffTermConverter..cctor()

comment:8 Changed 7 years ago by gkronber

r15656: referenced new version of AutoDiff plugin (using nuget package). No other changes necessary because the API has not changed.

comment:9 Changed 7 years ago by gkronber

r15657: svn:ignore

comment:10 Changed 7 years ago by abeham

I think we discussed once that we should stop strong naming our assemblies. I don't think we gain anything from strong naming because we don't put assemblies in the GAC. But of course if HeuristicLab is to be integrated into a strong-named project then we also need to provide a strong named version which means that all dependencies are to be strong named too.

comment:11 Changed 7 years ago by gkronber

  • Milestone changed from HeuristicLab 3.3.16 to HeuristicLab 4.x Backlog
  • Priority changed from medium to low

comment:12 Changed 4 years ago by gkronber

Latest version 1.2.2 . We currently use 1.0

Note: See TracTickets for help on using tickets.