The main goal of the sawmill is to get the maximum profit of raw material. Now, this trend is getting stronger. If the sawmill uses old technology and equipment, it can’t exist. One of the main value measures is a yield of a log. There are several ways how to improve this factor, the most effective way – is the PC-based optimization of sawing on the basis of 3G modelling. In this way, the optimization operates individually for each log. The modern computer equipment allows modelling all stages of the log by searching hundreds of possibilities and accounting for the yield of log and its cost, and also takes into account the allowance for edge and processing limits of the equipment.