File tree Expand file tree Collapse file tree 5 files changed +10
-44
lines changed
.nextmv/readme/python-ortools-region-allocation
python-ortools-region-allocation
python-simpy-carwash-simulation
python-xpress-park-location Expand file tree Collapse file tree 5 files changed +10
-44
lines changed Original file line number Diff line number Diff line change 11cat input.json | docker run -i --rm \
2- -v $( pwd) :/app ghcr.io/nextmv-io/runtime/pyomo:latest \
2+ -v $( pwd) :/app ghcr.io/nextmv-io/runtime/python:3.11 \
33sh -c ' python3 /app/main.py'
Original file line number Diff line number Diff line change @@ -290,21 +290,11 @@ configuration:
290290 - name : runner.input.path
291291 option_type : string
292292 description : The input file path
293- ui :
294- control_type : input
295- display_name : Input Path
296- hidden_from :
297- - viewer
298- - operator
293+ local_only : true
299294 - name : runner.output.path
300295 option_type : string
301296 description : The output file path
302- ui :
303- control_type : input
304- display_name : Output Path
305- hidden_from :
306- - viewer
307- - operator
297+ local_only : true
308298 - name : runner.output.solutions
309299 option_type : string
310300 description : " {all, last} specifies whether to output all solutions or only the last one"
@@ -321,21 +311,11 @@ configuration:
321311 - name : runner.profile.cpu
322312 option_type : string
323313 description : The CPU profile file path
324- ui :
325- control_type : input
326- display_name : CPU Profile Path
327- hidden_from :
328- - viewer
329- - operator
314+ local_only : true
330315 - name : runner.profile.memory
331316 option_type : string
332317 description : The memory profile file path
333- ui :
334- control_type : input
335- display_name : Memory Profile Path
336- hidden_from :
337- - viewer
338- - operator
318+ local_only : true
339319
340320 # Solve options
341321 - name : solve.duration
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Cloud, you can use the following command:
2828
2929` ` ` bash
3030cat input.json | docker run -i --rm \
31- -v $( pwd) :/app ghcr.io/nextmv-io/runtime/pyomo:latest \
31+ -v $( pwd) :/app ghcr.io/nextmv-io/runtime/python:3.11 \
3232sh -c ' python3 /app/main.py'
3333` ` `
3434
Original file line number Diff line number Diff line change @@ -36,15 +36,9 @@ configuration:
3636 description : Path to input data file, default is stdin.
3737 option_type : string
3838 default : " "
39- required : false
40- ui :
41- control_type : input
42- display_name : Input Path
39+ local_only : true
4340 - name : output
4441 description : Path to output data file, default is stdout.
4542 option_type : string
4643 default : " "
47- required : false
48- ui :
49- control_type : input
50- display_name : Output Path
44+ local_only : true
Original file line number Diff line number Diff line change @@ -22,21 +22,13 @@ configuration:
2222 default : " "
2323 required : false
2424 description : Path to input file. Default is stdin.
25- ui :
26- control_type : input
27- hidden_from :
28- - operator
29- display_name : Input file
25+ local_only : true
3026 - name : output
3127 option_type : string
3228 default : " "
3329 required : false
3430 description : Path to output file. Default is stdout.
35- ui :
36- control_type : input
37- hidden_from :
38- - operator
39- display_name : Output file
31+ local_only : true
4032 - name : objective
4133 option_type : string
4234 default : average_distance
You can’t perform that action at this time.
0 commit comments