Opened 12 months ago

Last modified 11 months 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 (11)

comment:1 Changed 11 months ago by gkronber

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

comment:2 Changed 11 months ago by gkronber

  • Version set to branch

comment:3 Changed 11 months ago by gkronber

r15653: created a branch for this ticket.

comment:4 Changed 11 months ago by gkronber

r15654: added project for new version of AutoDiff

comment:5 follow-up: Changed 11 months 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 11 months ago by gkronber

r15655: fixed incorrect assembly reference in plugin file

comment:7 in reply to: ↑ 5 Changed 11 months 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 11 months 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 11 months ago by gkronber

r15657: svn:ignore

comment:10 Changed 11 months 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 11 months ago by gkronber

  • Milestone changed from HeuristicLab 3.3.16 to HeuristicLab 4.x Backlog
  • Priority changed from medium to low
Note: See TracTickets for help on using tickets.