Skip to content

Error: Line search cannot locate an adequate point after MAXLS function and gradient evaluations. #29

Open
@ChenLiumeng

Description

When I apply my data to the synthetic control method, the following error occurs:

**At iterate 9 f= 1.88176D+02 |proj g|= 9.95029D-01
ys=-1.176E-04 -gs= 9.593E-02 BFGS update SKIPPED

At iterate 12 f= 1.87726D+02 |proj g|= 9.93929D-01
ys=-4.743E-08 -gs= 2.418E-03 BFGS update SKIPPED

Bad direction in the line search;
refresh the lbfgs memory and restart the iteration.

Bad direction in the line search;
refresh the lbfgs memory and restart the iteration.

Line search cannot locate an adequate point after MAXLS
function and gradient evaluations.
Previous x, f and g restored.
Possible causes: 1 error in function or gradient evaluation;
2 rounding error dominate computation.**

I searched for the cause of the occurrence showing that it could be due to an unreasonable number of iterations, so I made a change to n_optim= in SyntheticControlMethods/main.py as below, but found that the problem persisted.
0471DB17-2B48-4028-BC1E-CF6ACD7603B2
How should I solve this please, thank you very much!😊
This is the version of each package for the environment I'm using

tests.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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