Skip to content

fail running Launcher.Legacy for python algorithm #10

@anaderi

Description

@anaderi

I've cloned both Lean (master branch) and this repo as documentation suggests. Launcher successfully optimization of Csharp algorithm (ParameterizedAlgorithm from Jtc.Optimization.LeanOptimizer.Example.dll), but as I switch to Python mentioned in readme (ParameterizedSharedAppDomainAlgorithm, "../../../Jtc.Optimization.LeanOptimizer.Example/ParameterizedSharedAppDomainAlgorithm.py") I get core dumped:

ts-01:~/git/LeanParameterOptimization/Jtc.Optimization.Launcher.Legacy/bin/Debug$ mono Jtc.Optimization.Launcher.Legacy.exe optimization.json
PythonEngine.Initialize(): Runtime.Initialize()...
Runtime.Initialize(): Py_Initialize...
PythonEngine.Initialize(): Runtime.Initialize()...
Runtime.Initialize(): PyEval_InitThreads...
Runtime.Initialize(): Initialize types...

=================================================================
	Native Crash Reporting
=================================================================
PythonEngine.Initialize(): Runtime.Initialize()...
Runtime.Initialize(): Initialize types...
Aborted (core dumped)

Meanwhile Lean (master branch) runs Python algorithms without a flaw. Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions