Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using InitialChecks (line 573) #33

Open
mk1564 opened this issue Jan 13, 2022 · 1 comment
Open

Error using InitialChecks (line 573) #33

mk1564 opened this issue Jan 13, 2022 · 1 comment

Comments

@mk1564
Copy link

mk1564 commented Jan 13, 2022

Hi,

Can I get some help on the error below?

Error using InitialChecks (line 573)
This should never happen. Double-check your DynareOBC install, or try a
different solver.
Internal error message: Unknown problem in solver (Turn on 'debug' in
sdpsettings) (Reference to non-existent field 'H'.)
Error in ModelSolution (line 178)
            dynareOBC = InitialChecks( dynareOBC );
Error in dynareOBCCore (line 544)
        [ Info, M_, options_, oo_ , dynareOBC ] = ModelSolution( (
        ~dynareOBC.Estimation ) && ( size( FlipsTried, 1 ) == 1 ), M_, options_,
        oo_, dynareOBC );
Error in dynareOBCSetup (line 297)
            dynareOBC_ = dynareOBCCore( InputFileName, basevarargin, dynareOBC_,
            @() EnforceRequirementsAndGeneratePath( Update, OriginalPath,
            CurrentFolder, dynareOBCPath, InputFileName, varargin{:} ) );
Error in dynareOBC (line 711)
        dynareOBCSetup( OriginalPath, CurrentFolder, dynareOBCPath,
        InputFileName, varargin{:} ); 

I did downloaded the most recent version and I am using dynare 4.5.7. I did the testsolvers and it says

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|                   Test|   Solution|                                                                                      Solver message|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|   Core functionalities|        N/A|                                                                        Successfully solved (YALMIP)|
|                     LP|        N/A|   Unknown problem in solver (Turn on 'debug' in sdpsettings) (Reference to non-existent field 'H'.)|
|                     LP|        N/A|   Unknown problem in solver (Turn on 'debug' in sdpsettings) (Reference to non-existent field 'H'.)|
|                     QP|    Correct|                                                                      Successfully solved (QUADPROG)|
|                     QP|    Correct|                                                                      Successfully solved (QUADPROG)|
|                   SOCP|    Correct|                                                                       Successfully solved (FMINCON)|
|                   SOCP|    Correct|                                                                       Successfully solved (FMINCON)|
|                   SOCP|    Correct|                                                                       Successfully solved (FMINCON)|
|                    SDP|        N/A|                                                                                  No suitable solver|
|                    SDP|        N/A|                                                                                  No suitable solver|
|                    SDP|        N/A|                                                                                  No suitable solver|
|                    SDP|        N/A|                                                                                  No suitable solver|
|                 MAXDET|        N/A|                                                                                  No suitable solver|
|                 MAXDET|        N/A|                                                                                  No suitable solver|
|          Infeasible LP|        N/A|   Unknown problem in solver (Turn on 'debug' in sdpsettings) (Reference to non-existent field 'H'.)|
|          Infeasible QP|        N/A|                                                                       Infeasible problem (QUADPROG)|
|         Infeasible SDP|        N/A|                                                                                  No suitable solver|
|      Moment relaxation|        N/A|                                                                                  No suitable solver|
|         Sum-of-squares|        N/A|                                                                                  No suitable solver|
|           Bilinear SDP|        N/A|                                                                                  No suitable solver|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Checking OPTI Toolbox Installation:
Checking Paths...                Ok
Checking    LP Solver Results... Ok
Checking  MILP Solver Results... Ok
Checking    QP Solver Results... Ok
Checking   NLS Solver Results... Ok
Checking   NLP Solver Results... Ok

Toolbox Checked Out Ok! - Enjoy

It works fine when I run RunAllExamples.m, but get the same error when I try to run examples individually.

@tholden
Copy link
Owner

tholden commented Jan 14, 2022

Installing Gurobi or similar will fix this.

Unclear what the source of this particular issue is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants