Forum Discussion
FICO
6 years agoCommunity Manager
Changing Parameter while running from command prompt
Hi All, I have written a code where I change the name of the data file manually like following:
parameters
INPUTFILE = 'mmsheet.xlsx:J_G_P5_Input_20I_5J_IntData.xlsx'
VERBOSE = 1
end-parameters
Now, I want to create a batch file and run multiple data file sequentially by calling the program and changing the INPUTFILE name.
I have tried "mosel DCA_Based_Brunch_Cut_Consolidated_V_23 > mylog.txt" this in command prompt and it is running. However, for changing the inputfile name I have tried the following:
mosel DCA_Based_Brunch_Cut_Consolidated_V_23 [param = INPUTFILE['mmsheet.xlsx:C_M_P10_Input_30I_5J_IntData.xlsx']] > mylog.txt , which is not working.
Any help will be highly appreciated.
1 Reply
- FICOCommunity Manager
Please try the following form:
mosel DCA_Based_Brunch_Cut_Consolidated_V_23 "INPUTFILE='mmsheet.xlsx:C_M_P10_Input_30I_5J_IntData.xlsx'" > mylog.txt
Related Content
Related Content
How do I change a batch of control parameters?
Hi, I am new to Xpress. Is it possible to change control parameters by reading in a parameters file ? I need to be able to quickly change about 60 parameters multiple times.9 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4Comments

