added source code for risk solver