Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    $\begingroup$ Is the file "CooperativeGames.m" located in the folder "coop"? The failure indicates that Mathematica could not generate the context coopCooperativeGames. What does say FindFile["coopCooperativeGames"] or FindFile["CooperativeGames`"]? $\endgroup$ Commented Apr 10, 2019 at 15:41
  • $\begingroup$ If I understand you correctly, you have pasted the package contents into a notebook. However, you must add the package path to the Mathematica search path in order to be able to run the package. For instance, set \$TuGamesPath = \$BaseDirectory<>"\\11.0\\AddOns\\Packages\\TuGames" and then set finally AppendTo[\$Path, \$TuGamesPath]. To check that the new path is added to the search path execute \$Path in a notebook. $\endgroup$ Commented Apr 10, 2019 at 16:15
  • 1
    $\begingroup$ @HolgerI.Meinhardt Do you have a link to a version of cddlib which includes cddmathlink? Unfortunately, the latest version does not seem to have the MathLink code. $\endgroup$ Commented Apr 10, 2019 at 21:26
  • $\begingroup$ @Szabolcs that right. I just copied the MathLink code of version cddlib-094g (I guess it is the last version that ships the MathLink code) into the directory tree of the latest version cddlib-0.94-j. Adjusted the Makefile for Mathematica Version 11.3 under Linux and compiled it. I have binaries for RHEL 7.5, if you want, I can open a link for downloading. $\endgroup$ Commented Apr 11, 2019 at 7:43