Discrete Optimization Algorithms: With Pascal Programs