run
run(samples)Writes samples to CSV, runs the command and reads the results back.
Any output left from a previous batch is deleted first. If the output lacks some input columns but has the same number of rows, the inputs are copied back in. Failures (non-zero exit, command not found, no or unreadable output, mismatched row count) are logged and give an empty DataFrame.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| samples | pd.DataFrame | Input samples, one row per simulation. | required |
Returns
| Name | Type | Description |
|---|---|---|
| pd.DataFrame | pd.DataFrame: The solver’s results including the input columns, or an | |
| pd.DataFrame | empty DataFrame if the run failed. |