=============================================================
sntoy: Solving diet LP problem using SNOPT ...
Begin t1diet problem
SNSPEC EXIT 100 -- finished successfully
SNSPEC INFO 101 -- SPECS file read
Trial version of SNOPT -- for evaluation or academic purposes only
Error using snoptmex
Error reading license file
Error in snopt (line 294)
xstate,Fstate,itn,mjritn] = snoptmex(solveopt,
...
Error in t1diet (line 12)
[x,F,INFO,xmul,Fmul,xstate,Fstate,output]=
snopt( x, xlow, xupp, xmul, xstate, ...
Error in runNPexamples (line 10)
[x,xmul,F,Fmul,info] = t1diet;
Testing, the 'getenv' command returns this:
>> getenv('SNOPT_LICENSE')
ans =
'Users/Stephen/Licenses/snopt7.lic'
I'm using Matlab 2018b, Win10. Any idea on how can I solve this problem? Thanks