-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
When I use snopt to solve a nonlinear problem, it always shows “SNOPTA EXIT 40 -- terminated after numerical difficulties” even I give the optimal solution as the initial solution.
Here is the output:
=============================================================
NetFlow: Solving Network flow using SNOPT ... Using initial solution
==============================
S N O P T 7.7.7 (Feb 2021)
==============================
Begin NetFlow NLP problem
SNSPEC EXIT 100 -- finished successfully
SNSPEC INFO 101 -- SPECS file read
Trial version of SNOPT -- for evaluation or academic purposes only
SNMEMA EXIT 100 -- finished successfully
SNMEMA INFO 104 -- memory requirements estimated
Trial version of SNOPT -- for evaluation or academic purposes only
Scale option 0
Nonlinear constraints 53 Linear constraints 1
Nonlinear variables 74 Linear variables 0
Jacobian variables 74 Objective variables 32
Total constraints 54 Total variables 74
The user has defined 262 out of 262 first derivatives
Itn 0: Hessian set to a scaled identity matrix
Itn 0: LU partial pivoting tols 2.00 2.00
Itn 0: LU partial pivoting tols 1.41 1.41
Itn 0: LU partial pivoting tols 1.19 1.19
Itn 0: LU partial pivoting tols 1.09 1.09
Itn 0: LU partial pivoting tols 1.04 1.04
Itn 0: LU partial pivoting tols 1.02 1.02
Itn 0: LU partial pivoting tols 1.01 1.01
Itn 0: LU rook pivoting tols 3.99 3.99
Itn 0: LU rook pivoting tols 2.00 2.00
Itn 0: LU rook pivoting tols 1.41 1.41
Itn 0: LU rook pivoting tols 1.19 1.19
Itn 0: LU rook pivoting tols 1.09 1.09
Itn 0: LU rook pivoting tols 1.04 1.04
Itn 0: LU rook pivoting tols 1.02 1.02
Itn 0: LU rook pivoting tols 1.01 1.01
SNOPTA EXIT 40 -- terminated after numerical difficulties
SNOPTA INFO 44 -- ill-conditioned null-space basis
Problem name NetFlow
No. of iterations 0 Objective 4.6637562225E+01
No. of major iterations 0 Linear obj. term 0.0000000000E+00
Penalty parameter 0.000E+00 Nonlinear obj. term 4.6637562225E+01
User function calls (total) 2
No. of degenerate steps 0 Percentage 0.00
Max x 3 6.7E+01 Max pi 1 NaN
Max Primal infeas 99 1.1E-16 Max Dual infeas 25Infinity
Nonlinear constraint violn 1.1E-16
Solution printed on file 10
Time for MPS input 0.00 seconds
Time for solving problem 0.00 seconds
Time for solution output 0.00 seconds
Time for constraint functions 0.00 seconds
Time for objective function 0.00 seconds
It seems it runs nothing. Can anyone help me with this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels