Mfa13c Fit Start
mfa13c_fit_start
Open in the interactive browser →
Start a 13C-MFA flux fit as a job (n_initial random starts, SLSQP/LN_PRAXIS/GN_CRS2_LM, optional rounds of global+local optimisation); result carries flux map, RSS per round, convergence, chi-square test.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
experiment_ids |
array | no | |
initial_fluxes |
object | no | warm start from a {reaction_id: value} flux map, e.g. an exported fit |
max_iter |
integer | no | |
max_minutes |
number | no | optional wall-clock cap: stop after the round that crosses it and return the best fit so far (time_capped) |
method |
string | no | |
n_initial |
integer | no | |
rounds |
integer | no | repeat global (method) + local (SLSQP) optimisation this many times, as in the mfapy tutorial; genome-scale-like examples (ecoli) need 15-30 rounds to pass the chi-square test |
seed |
integer | no | seeds initial states and the nlopt optimisers (reproducible fits) |
session_model_id |
string | yes | id from mfa13c_load_model (content-addressed, e.g. the toy example is m-b2e84689897c) |
start_fit_job_id |
string | no | warm start: continue from the flux map of a finished fit (n_initial ignored) |
Examples
Start a 13C-MFA flux fit as a job (n_initial random starts, SLSQP/LN_PRAXIS/GN_CRS2_LM, optional rounds of global+local optimisation); result carries flux map, RSS per round, convergence, chi-square test (declared example)
Prompt: “Start a 13C-MFA flux fit as a job (n_initial random starts, SLSQP/LN_PRAXIS/GN_CRS2_LM, optional rounds of global+local optimisation); result carries flux map, RSS per round, convergence, chi-square test using mfa13c_fit_start with arguments {"experiment_ids": ["ex1"], "max_iter": 200, "method": "SLSQP", "n_initial": 2, "session_model_id": "m-b2e84689897c"}”
Start a 13C-MFA flux fit as a job (n_initial random starts, SLSQP/LN_PRAXIS/GN_CRS2_LM, optional rounds of global+local optimisation); result carries flux map, RSS per round, convergence, chi-square test (minimal call)
Prompt: “Call mfa13c_fit_start and summarise the result.”
mfa13cmfa13c_fit_start