Fixing variables types in PhOptimization