Research Article

From Nonlinear Optimization to Convex Optimization through Firefly Algorithm and Indirect Approach with Applications to CAD/CAM

Algorithm 1

De Boor's knot vector refinement algorithm.
INPUT:      /* Vector of data parameters from Step 2*/
             /* Number of internal knots */
OUTPUT:    /* Vector of internal knots */
ALGORITHM: {Initialization}
       
       
     {Main loop}
       for   to   do
         /*   : returns the largest integer number   */
        
        
        
       end for