Skip to content

Issues with AutoForwardDiff #27

@zaikunzhang

Description

@zaikunzhang

Hi @amontoison and @emmt ,

Could you have a look at the following correlated issues?

SciML/Optimization.jl#719

soldasim/BOSS.jl#28

I do believe this is a problem with the Julia interface. Shouldn't we just ignore anything related to automatic deafferentation, since PRIMA does not use it at all?

Quoting the first issue:

The COBYLA algorithm apparently uses AD for automatic detection of linear/nonlinear constraints (despite being derivative-free). It should not error when AD is provided though.

This isn't the case, right?

Quoting the second issue:

Created an issue at Optimization.jl: SciML/Optimization.jl#719

For all the unconstrained algorithms, pass keyword autodiff = nothing to OptimizationAM and OptimizationMLE as a workaround.

COBYLA is probably just broken until this is resolved. (Unless other AD backends work. (?))

This is important for us. People believe that PRIMA.jl is broken ...

Thanks!

Zaikun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions