Temporary variable warning messages running knitromatlab_mip 11.0.1, but not 10.3

146 views
Skip to first unread message

Mark L. Stone

unread,
Jun 22, 2018, 7:45:43 PM6/22/18
to Artelys Knitro forum
I experience the following warning messages after invoking KNITRO 11.0.1 knitromatlab_mip under MATLAB R2014A, but do  not get them under KNITRO 10.3, and do not get them under any KNITRO version invoking knitromatlab. Subsequent invocations of knitromatlab_mip in the same MATLAB session do not show the warnings, so it is not very burdensome.

If it is causing any erroneous behavior in my configuration, I have not detected it, and KNITRO seems to solve the specified problem. Note that I do not have the Parallel Computing Toolbox.

Warning: File: knitromatlab_mip.p Line: 1460 Column: 0
The temporary variable workerobjHandle will be cleared at the beginning of each iteration of the parfor loop.
Any value assigned to it before the loop will be lost.  If workerobjHandle is used before it is assigned in the parfor loop, a runtime error will occur.
See Parallel for Loops in MATLAB, "Temporary Variables".
Warning: File: knitromatlab_mip.p Line: 1621 Column: 0
The temporary variable workerconHandle will be cleared at the beginning of each iteration of the parfor loop.
Any value assigned to it before the loop will be lost.  If workerconHandle is used before it is assigned in the parfor loop, a runtime error will occur.
See Parallel for Loops in MATLAB, "Temporary Variables".
Warning: File: knitromatlab_mip.p Line: 1709 Column: 0
The temporary variable workerconHandle will be cleared at the beginning of each iteration of the parfor loop.
Any value assigned to it before the loop will be lost.  If workerconHandle is used before it is assigned in the parfor loop, a runtime error will occur.
See Parallel for Loops in MATLAB, "Temporary Variables".

Richard Waltz

unread,
Jun 24, 2018, 10:22:34 AM6/24/18
to kni...@googlegroups.com
Hi Mark,

Thanks for letting us know about this warning message.  It is nothing to worry about, but we'll try to get it suppressed in the next bug release.

Best,
-Richard


Richard WALTZ
Senior Scientist
 
Artelys USA
 


From: 'Mark L. Stone' via Artelys Knitro forum [kni...@googlegroups.com]
Sent: Friday, June 22, 2018 5:11 PM
To: Artelys Knitro forum
Subject: [Knitro] Temporary variable warning messages running knitromatlab_mip 11.0.1, but not 10.3

--
You received this message because you are subscribed to the Artelys "Knitro Nonlinear Optimization Solver" google group.
To post to this group, send email to kni...@googlegroups.com
To unsubscribe from this group, send email to knitro-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/knitro?hl=en
Thank You,
Artelys
http://www.artelys.com/en/optimization-tools/knitro
---
You received this message because you are subscribed to the Google Groups "Artelys Knitro forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knitro+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages