Home > source > @penlab > setpointall.m

setpointall

PURPOSE ^

This is testing/debugging routine, it shouldn't be used by the user!

SYNOPSIS ^

function []=setpointall(obj,xall,uxbox,pxbox,uineq,pineq,ueq,UYbox,PYbox,UA,PA)

DESCRIPTION ^

 This is testing/debugging routine, it shouldn't be used by the user!
 Resets the current point, penalty parameters and Lagrangian multipliers.
 Typically to set a known point from the original Pennon to be able to 
 evaluate the Augmented Lagrangian at the set point & compare the results.
 This work probably only for problems without matrix variables!
 Input: matches (more or less) the elements in the object
   x ...

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % This is testing/debugging routine, it shouldn't be used by the user!
0002 % Resets the current point, penalty parameters and Lagrangian multipliers.
0003 % Typically to set a known point from the original Pennon to be able to
0004 % evaluate the Augmented Lagrangian at the set point & compare the results.
0005 % This work probably only for problems without matrix variables!
0006 % Input: matches (more or less) the elements in the object
0007 %   x ...
0008 function []=setpointall(obj,xall,uxbox,pxbox,uineq,pineq,ueq,UYbox,PYbox,UA,PA)
0009 
0010   if (length(xall)~=obj.Nx+obj.NYnnz)
0011     error('ERR @ setpointall: wrong dimension of x.');
0012   end
0013   obj.xall=xall;
0014 
0015   % TODO
0016

Generated on Mon 26-Aug-2019 10:22:08 by m2html © 2005