In order to slove the large-scale nonlinear programming (NLP) problems efficiently, an efficient optimization algorithm based on reduced sequential quadratic programming (rSQP) and automatic differentiation (AD)...In order to slove the large-scale nonlinear programming (NLP) problems efficiently, an efficient optimization algorithm based on reduced sequential quadratic programming (rSQP) and automatic differentiation (AD) is presented in this paper. With the characteristics of sparseness, relatively low degrees of freedom and equality constraints utilized, the nonlinear programming problem is solved by improved rSQP solver. In the solving process, AD technology is used to obtain accurate gradient information. The numerical results show that the combined algorithm, which is suitable for large-scale process optimization problems, can calculate more efficiently than rSQP itself.展开更多
A systematic methodology for formulating,implementing,solving and verifying discrete adjoint of the compressible Reynolds-averaged Navier-Stokes(RANS) equations for aerodynamic design optimization on unstructured me...A systematic methodology for formulating,implementing,solving and verifying discrete adjoint of the compressible Reynolds-averaged Navier-Stokes(RANS) equations for aerodynamic design optimization on unstructured meshes is proposed.First,a general adjoint formulation is constructed for the entire optimization problem,including parameterization,mesh deformation,flow solution and computation of the objective function,which is followed by detailed formulations of matrix-vector products arising in the adjoint model.According to this formulation,procedural components of implementing the required matrix-vector products are generated by means of automatic differentiation(AD) in a structured and modular manner.Furthermore,a duality-preserving iterative algorithm is employed to solve flow adjoint equations arising in the adjoint model,ensuring identical convergence rates for the tangent and the adjoint models.A three-step strategy is adopted to verify the adjoint computation.The proposed method has several remarkable features:the use of AD techniques avoids tedious and error-prone manual derivation and programming;duality is strictly preserved so that consistent and highly accurate discrete sensitivities can be obtained;and comparable efficiency to hand-coded implementation can be achieved.Upon the current discrete adjoint method,a gradient-based optimization framework has been developed and applied to a drag reduction problem.展开更多
In this paper, the state-feedback Nash game based mixed H2/H∞ design^([1, 2])has been extended for output feedback case. The algorithm is applied to control bioreactor system with a Laguerre-Wavelet Network(LWN)^...In this paper, the state-feedback Nash game based mixed H2/H∞ design^([1, 2])has been extended for output feedback case. The algorithm is applied to control bioreactor system with a Laguerre-Wavelet Network(LWN)^([3, 4])model of the bioreactor.This is achieved by using the LWN model as a deviation model and by successively linearising the deviation model along the state trajectory. For reducing the approximation error and to improve the controller performance, symbolic derivation algorithm, viz.,automatic differentiation is employed. A cautionary note is also given on the fragility of the output feedback mixed H2/H∞ model predictive controller^([4, 5])due to its sensitivity to its own parametric changes.展开更多
In this article, the least program behavior decomposition method (LPBD) is put forward from a program structure point of view. This method can be extensively used both in algorithms of automatic differentiation (AD) a...In this article, the least program behavior decomposition method (LPBD) is put forward from a program structure point of view. This method can be extensively used both in algorithms of automatic differentiation (AD) and in tools design, and does not require programs to be evenly separable but the cost in terms of operations count and memory is similar to methods using checkpointing. This article starts by summarizing the rules of adjointization and then presents the implementation of LPBD. Next, the definition of the separable program space, based on the fundamental assumptions (FA) of automatic differentiation, is given and the differentiation cost functions are derived. Also, two constants of fundamental importance in AD, s and m, are derived under FA. Under the assumption of even separability, the adjoint cost of simple and deep decomposition is subsequently discussed quantitatively using checkpointing. Finally, the adjoint costs in terms of operations count and memory through the LPBD method are shown to be uniformly dependent on the depth of structure or decomposition.展开更多
The adjoint code generator(ADG)is developed to produce the adjoint codes,which are used to analytically calculate gradients and the Hessian-vector products with the costs independent of the number of the independent v...The adjoint code generator(ADG)is developed to produce the adjoint codes,which are used to analytically calculate gradients and the Hessian-vector products with the costs independent of the number of the independent variables.Different from other automatic differentiation tools,the implementation of ADG has advantages of using the least program behavior decomposition method and several static dependence analysis techniques.In this paper we first address the concerned concepts and fundamentals,and then introduce the functionality and the features of ADG.In particular,we also discuss the design architecture of ADG and implementation details including the recomputation and storing strategy and several techniques for code optimization.Some experimental results in several applications are presented at the end.展开更多
文摘In order to slove the large-scale nonlinear programming (NLP) problems efficiently, an efficient optimization algorithm based on reduced sequential quadratic programming (rSQP) and automatic differentiation (AD) is presented in this paper. With the characteristics of sparseness, relatively low degrees of freedom and equality constraints utilized, the nonlinear programming problem is solved by improved rSQP solver. In the solving process, AD technology is used to obtain accurate gradient information. The numerical results show that the combined algorithm, which is suitable for large-scale process optimization problems, can calculate more efficiently than rSQP itself.
基金supported by the Priority Academic Program Development of Jiangsu Higher Education Institutions of China
文摘A systematic methodology for formulating,implementing,solving and verifying discrete adjoint of the compressible Reynolds-averaged Navier-Stokes(RANS) equations for aerodynamic design optimization on unstructured meshes is proposed.First,a general adjoint formulation is constructed for the entire optimization problem,including parameterization,mesh deformation,flow solution and computation of the objective function,which is followed by detailed formulations of matrix-vector products arising in the adjoint model.According to this formulation,procedural components of implementing the required matrix-vector products are generated by means of automatic differentiation(AD) in a structured and modular manner.Furthermore,a duality-preserving iterative algorithm is employed to solve flow adjoint equations arising in the adjoint model,ensuring identical convergence rates for the tangent and the adjoint models.A three-step strategy is adopted to verify the adjoint computation.The proposed method has several remarkable features:the use of AD techniques avoids tedious and error-prone manual derivation and programming;duality is strictly preserved so that consistent and highly accurate discrete sensitivities can be obtained;and comparable efficiency to hand-coded implementation can be achieved.Upon the current discrete adjoint method,a gradient-based optimization framework has been developed and applied to a drag reduction problem.
文摘In this paper, the state-feedback Nash game based mixed H2/H∞ design^([1, 2])has been extended for output feedback case. The algorithm is applied to control bioreactor system with a Laguerre-Wavelet Network(LWN)^([3, 4])model of the bioreactor.This is achieved by using the LWN model as a deviation model and by successively linearising the deviation model along the state trajectory. For reducing the approximation error and to improve the controller performance, symbolic derivation algorithm, viz.,automatic differentiation is employed. A cautionary note is also given on the fragility of the output feedback mixed H2/H∞ model predictive controller^([4, 5])due to its sensitivity to its own parametric changes.
文摘In this article, the least program behavior decomposition method (LPBD) is put forward from a program structure point of view. This method can be extensively used both in algorithms of automatic differentiation (AD) and in tools design, and does not require programs to be evenly separable but the cost in terms of operations count and memory is similar to methods using checkpointing. This article starts by summarizing the rules of adjointization and then presents the implementation of LPBD. Next, the definition of the separable program space, based on the fundamental assumptions (FA) of automatic differentiation, is given and the differentiation cost functions are derived. Also, two constants of fundamental importance in AD, s and m, are derived under FA. Under the assumption of even separability, the adjoint cost of simple and deep decomposition is subsequently discussed quantitatively using checkpointing. Finally, the adjoint costs in terms of operations count and memory through the LPBD method are shown to be uniformly dependent on the depth of structure or decomposition.
基金Supported by the National Natural Science Foundation of China(Grant Nos 60503031,10871014)the National Basic Research Programof China(Grant No 2004CB418304)
文摘The adjoint code generator(ADG)is developed to produce the adjoint codes,which are used to analytically calculate gradients and the Hessian-vector products with the costs independent of the number of the independent variables.Different from other automatic differentiation tools,the implementation of ADG has advantages of using the least program behavior decomposition method and several static dependence analysis techniques.In this paper we first address the concerned concepts and fundamentals,and then introduce the functionality and the features of ADG.In particular,we also discuss the design architecture of ADG and implementation details including the recomputation and storing strategy and several techniques for code optimization.Some experimental results in several applications are presented at the end.