error when running DAO - Direct Aperture Optimization
I have ran a few cases with success but on this particular case it errors with the below warning. When I run the line:
resultGUI = matRad_directApertureOptimization(dij,cst,resultGUI.apertureInfo,resultGUI,pln);
It throws error:
any help much appreciated thanks!
Difficult to tell remotely what is going wrong, the error message is not that instructive. And it is very weird that it fails after 229 iterations.
It seems to fail in the constraint function calculation in matRad_OptimizationProblemDAO: https://github.com/e0404/matRad/blob/c3de378b7813611e619f7383f4498aedb618b0ce/optimization/%40matRad_OptimizationProblemDAO/matRad_constraintFunctions.m
But why, I don't know at the moment and I also can not investigate it from here. You can try to debug it with a breakpoint, but it is cumbersome to get to iteration 229 then..
There is a functionality to stop on error by typing dbstop if error in the command line before execution of your script, but I am not sure it will work in this case when running IPOPT.
ok thanks. i dont think the problem is frequent enough for me to spend time looking into atm. it happened for me on 2 cases from a total of 224.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue was automatically closed because it has not seen any activity in four weeks. This happens usually when the issue has already been solved or it is no longer relevant. If this is not the case, feel free to reopen the issue.