A computer readable medium having stored thereon instructions for enabling a computer to execute a process for determining production parameters, in the course of carrying out injection molding using a mold having a plurality of resin inflow conduits to a cavity, by combination of a numerical analysis method for calculating injection molding process and a computer-aided optimization method, wherein said production parameters determine time-sequentially the inflow of said resin material from said resin inflow conduits into said cavity,
- wherein said production parameter is determined in order to control a mold clamping force required for injection molding,
- wherein said production parameter is a parameter to control the action of valves gates positioned in a plurality of resin inflow conduits,
- wherein said production parameter is optimized under a condition that at least one of said valve gates is opened at any spot of time during a filling stage;
- and
- wherein target areas for controlling weld line occurrence are divided into a plurality of areas, the quantity of weld line occurrence in each area is weighted, the weighted quantity of weld line occurrence is summed to obtain a weld line evaluation value, and the weld line evaluation value thus obtained is used to induce said weld line occurrence to a specified area or to avoid said weld line occurrence from a specified area.