Exam Questions Flashcards

1
Q

(2 points) The left null space of a matrix A is spanned by:

a. The columns of A that correspond to the pivots of Ared
b. The row of A that correspond to the pivots of Ared
c. The fundamental solutions to the system of linear equations Ax = 0
d. None of the above.

(2025_1, 2024_1, 2024_2, 2020_test)

A

d. None of the above.

The left null space (also called the null space of 𝐴^𝑇 or the kernel of 𝐴^𝑇) consists of all vectors 𝑦 such that:
𝐴𝑇𝑦 = 0

Understanding the options:
(a) The columns of 𝐴 that correspond to the pivots of 𝐴red
❌ Incorrect. The left null space is related to the rows of 𝐴, not the columns.

(b) The rows of 𝐴 that correspond to the pivots of 𝐴 red
❌ Incorrect. The pivot rows form a basis for the row space, not the left null space.

(c) The fundamental solutions to the system of linear equations 𝐴π‘₯ = 0
❌ Incorrect. The fundamental solutions to 𝐴π‘₯ = 0 span the null space of 𝐴 (not the left null space).

(d) None of the above
βœ… Correct. None of the provided options accurately describe the left null space.

Final Answer: (d) None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

For the reaction in equilibrium (𝑄 = 𝐾eq)​, what is the Gibbs free energy change?

  • positive
  • negative
  • zero
A

Δ𝐺 = 0 at equilibrium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. (2 points) The GPR rule of a reaction catalyzed by a protein complex composed of two units, U1 and U2, where U1 is encoded by two genes g1 and g2, resulting in isoenyzmes, while U2 is encoded by gene g3 is given by

a. gl OR (g2 AND g3).
b. gl AND g2 AND g3.
c. (g1 AND g2) OR g3.
d. (gl OR g2) AND g3.

(2025_1, 2024_2, 2020_test)

A

d. (gl OR g2) AND g3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The canonical form of the mathematical program with objective Ξ£(1<=i<=m)|vi|. includes? options with this combination:

2m non-negative variable and 2m real variables.

(2025_1)

A

TBC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. (2 points) Sink reactions in a stoichiometric representation of a metabolic network contain:

a. Only non-positive stoichiometric coefficients.
b. At least one pair of stoichiometric coefficients with opposite signs.
c. Only non-negative stoichiometric coefficients.
d. All of the above.

(2024_2, 2024_1 2020_test)

A

a. Only non-positive stoichiometric coefficients.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. (2 points) Stoichiometric coefficients in the biomass reaction of a given model are

a. Unitless integer numbers.
b. Integer numbers with units (mol / gDW * h)
c. Real numbers with units (mol / gDW)
d. None of the above.

(2024_2, 2020_test)

Stoichiometric coefficients in the (except biomass) reaction of a given model with …… unit ?
(2025_1, 2024_2, 2024_1)

A

exam doc said:
c. Real numbers with units (mol / gDW)
(maybe it is this? need to research more)

Perplexity said:
d. None of the above.

Explanation
Stoichiometric coefficients in biomass reactions represent the amount of metabolites consumed or produced per unit of biomass synthesized. Key points:

Real numbers: Coefficients are derived from experimental data (e.g., cell composition) and often include fractional values (e.g., ATP hydrolysis per biomass unit).

Units: While coefficients implicitly relate to units like mmol/gDW or mol/gDW, the stoichiometric matrix itself is typically unitless. Units are instead associated with reaction fluxes (e.g., mmol/gDW/h).

Flux context: The actual metabolite consumption/production rate is calculated by multiplying the coefficient (unitless ratio) by the flux (which carries units like mmol/gDW/h).

Why Other Options Are Incorrect:
a. Coefficients are not restricted to integers (they often include decimals).

b. Units like β€œmol / gDW * h” apply to fluxes, not coefficients.

c. While coefficients reflect molar ratios per biomass, they are unitless in the matrix (units are contextual, not explicit).

Thus, none of the listed options fully describe biomass reaction coefficients in standard metabolic models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. (2 points) A reaction is hard-coupled to objective if its flux value:
    a. varies exactly like the objective.
    b. can take a value of zero.
    c. must be non-zero, but can vary.
    d. takes only a value of zero.
A

a. varies exactly like the objective.

Perplexity:

A reaction is considered hard-coupled to the objective in a metabolic network if its flux value is proportional to the flux of the objective function (e.g., biomass production). This means that the reaction’s flux must scale directly with the objective and cannot be independent or zero as long as the objective has a non-zero value.

Why Other Options Are Incorrect:
b. A hard-coupled reaction cannot take a value of zero if the objective is non-zero.
c. The flux of a hard-coupled reaction cannot vary independently; it must be strictly proportional to the objective.
d. A hard-coupled reaction does not always take a value of zero; it depends on the objective’s flux.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. (2 points) A reaction can take place if:
    a. The Gibbs free energy is positive.
    b. The reaction quotient is at least ten times as large as the equilibrium constant.
    c. The Gibbs free energy is negative.
    d. None of the above.
    (2025_2, 2020_test,
A

on exam doc answer was:
c. The Gibbs free energy is negative. (only for spontaneous reaction. This question is bs)

Perplexity:
A reaction’s ability to β€œtake place” depends on thermodynamic and biochemical context:

Gibbs free energy (Ξ”G):

A negative Ξ”G (option c) indicates spontaneity under standard conditions, but reactions with positive Ξ”G can still proceed if coupled to energy sources (e.g., ATP hydrolysis) or enzymatic catalysis.

Example: Biosynthetic reactions in cells often have positive Ξ”G but are driven by energy input.

Reaction quotient (Q) vs. equilibrium constant (K):

If Q>K (option b), the reaction favors the reverse direction under equilibrium assumptions, but this does not preclude it from occurring if energy or enzymes alter the system.

Real-world metabolic networks:

Reactions are often part of interconnected pathways, where thermodynamics are managed via coupling (e.g., ATP/ADP ratios, redox balances).

Why Other Options Are Incorrect:
a and c: Ξ”G alone does not universally determine feasibility in biological systems.

b: A high Q/K ratio does not inherently block a reaction if energy or enzymes are present.

Thus, none of the options fully capture the conditions under which reactions can occur in biological systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. (2 points) xQx” (w^T Q w)is convex if Q is:
    a. indefinite
    b. positive semidefinite
    c. positive definite
    d. negative semidefinite

(2025_1, 2020_test)

A

Answer
b. positive semidefinite (for convex)
(exam doc also said c for strictly convex…)

Perplexity:
Explanation
A quadratic function
f(x)=xTQx is convex if and only if the matrix Q is positive semidefinite (Qβͺ°0)1367. This follows directly from the definition of convexity:

Convexity condition: For all λ∈[1] and vectors x,y:

(Ξ»x+(1βˆ’Ξ»)y)TQ(Ξ»x+(1βˆ’Ξ»)y) ≀ Ξ»xTQx+(1βˆ’Ξ»)yTQy

Simplifying this inequality reduces to verifying (xβˆ’y)TQ(xβˆ’y) β‰₯ 0, which holds for positive semidefinite Q.

Role of definiteness:
- Positive semidefinite (Qβͺ°0): Ensures xTTQx β‰₯ 0 for all x, satisfying convexity.
- Positive definite (Q≻0): Guarantees strict convexity (stronger condition).
- Indefinite or negative semidefinite: These lead to non-convex behavior (e.g., saddle points or concavity).

Why Other Options Are Incorrect:
a. Indefinite: Allows xTQx to take positive and negative values, violating convexity.
c. Positive definite: Implies strict convexity, but convexity only requires Qβͺ°0.
d. Negative semidefinite: Results in a concave function.

Thus, xTQx is convex precisely when Q is positive semidefinite.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. (2 points) Given a linear program
    min cTx

s.t.

Ax ≀ b

with A ∈ Rnxm, b ∈ Rnx1, c ∈ R^nx1, x ∈ Rmx1 has a dual with:

a. m + n variables.
b. n variables.
c. m variables.
d. none of the above.

(2025_1, 2024_2, 2024_1, 2020_test same question or similar)

A

b. n variables.

Perplexity Explanation
In linear programming duality:
- The primal problem has m variables (size of x) and n constraints (rows of A).
- The dual problem will have one variable per primal constraint. Since the primal has n constraints (Ax ≀ b), the dual has n variables (denoted as y ∈ Rn).

Duality Structure:
Primal (minimization):
min x cTx
s.t. Ax ≀ b

Dual (maximization):
max y bTy
s.t. ATy = c (if primal variables are free)
y β‰₯ 0

Why Other Options Are Incorrect:
a. m+n variables would imply combining primal and dual variables, which is not the case.
c. m variables would correspond to dual constraints (not variables).
d. β€œNone of the above” is incorrect because b is valid.

Thus, the dual has n variables, one for each primal constraint.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. (2 points) The set of elementary flux modes of a given metabolic network form a convex basis in the network:
    a. TRUE.
    b. FALSE.
A

b. FALSE.

Perplexity Explanation

Elementary flux modes (EFMs) represent minimal, non-decomposable pathways in a metabolic network under steady-state conditions. However, they do not inherently form a convex basis.

Key distinctions:

Convex Basis Definition:
- A convex basis consists of extreme rays (or vectors) that generate the flux cone through non-negative combinations. These vectors must be unique and irreducible.

EFMs vs. Extreme Pathways:
- EFMs include all possible minimal pathways, even those involving reversible reactions or redundant combinations.
- Extreme pathways (a subset of EFMs) form the convex basis. They are derived by removing redundancies caused by reversible reactions or exchange fluxes, ensuring uniqueness.

Key Difference:
- EFMs can overlap or include non-unique decompositions, whereas a convex basis requires vectors that cannot be expressed as non-negative combinations of others.
- Example: In networks with reversible reactions, EFMs may include both directions of a pathway, but the convex basis (extreme pathways) omits redundant directions.

Why Other Options Are Incorrect:
a. TRUE: While EFMs span the flux cone, they are not always minimal or unique enough to qualify as a convex basis. Extreme pathways, not EFMs, fulfill this role in constrained networks46.

Thus, EFMs describe all feasible pathways, but only extreme pathways (a subset of EFMs) form the convex basis for the flux cone.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. (2 points) Given a reaction in a metabolic network, its lower and upper feasible bounds determined from flux variability analysis are:

a. Unique.
b. Necessarily positive.
c. Necessarily negative.
d. None of the above.

(2024_2, 2020_test)

A

d. None of the above.

Perplexity Explanation

Flux variability analysis (FVA) calculates the range of feasible fluxes for each reaction in a metabolic network under steady-state conditions while maintaining near-optimality (e.g., maximizing biomass). Key points:

Non-uniqueness of flux values:

While FVA determines fixed bounds (minimum and maximum fluxes) for each reaction under a given model setup, the actual flux values within these bounds can vary across alternate optimal solutions.

Bounds can include zero or span positive/negative values:

Blocked reactions: May have bounds fixed at zero (e.g., inactive reactions).
Reversible reactions: Can have negative lower bounds and positive upper bounds (e.g., bidirectional transport).

Dependence on network constraints:

Bounds are determined by the stoichiometric matrix, reaction directionality, and objective function. They are not inherently positive, negative, or universally unique across all models or perturbations.

Why Other Options Are Incorrect:
a. Unique: While bounds are fixed for a specific model configuration, they are not universally unique (e.g., altering constraints or optimality criteria changes bounds).
b/c. Positivity/Negativity: Bounds depend on reaction reversibility and network context (e.g., reversible reactions span negative and positive ranges).

Thus, none of the options universally apply to all reactions in metabolic networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. (5 points) Given the following Simplex table for a canonical linear programming problem

Basic Variable / x / x1 / x2 / s1 / s2 / s3 / RHS / Upper Bound on Entering Variable
z 1 -13 -11 0 0 0 0 -
s1 0 4 5 1 0 0 1500 375
s2 0 5 3 0 1 0 1575 315
s3 0 1 2 0 0 1 420 420

a. x1 is a entering variable, s2 is a leaving variable.
b. x2 is a entering variable, s1 is a leaving variable.
c. z is a entering variable, s3 is a leaving variable.
d. x is a entering variable, s3 is a leaving variable.

(2024_2, 2020_test)

A

google doc said:
a. x1 is a entering variable, s2 is a leaving variable.

perplexity said:
b. x2 is an entering variable, s1 is a leaving variable.

Perplexity Explanation of the Correct Answer:
To determine the entering and leaving variables, we typically look for the most negative coefficient in the objective function row (z row) to identify the entering variable and then find the leaving variable based on the minimum ratio of RHS to the coefficient of the entering variable in the constraint rows.

Entering Variable:
The most negative coefficient in the z row is -13 for x1, but since x2 is also a candidate with a coefficient of -11, we need to consider which one is chosen based on additional criteria (e.g., degeneracy resolution). However, in this context, x2 is selected as the entering variable because it is often chosen based on its smaller absolute value or other tie-breaking rules.

Leaving Variable:
Once x2 is chosen as the entering variable, we calculate the ratios for each constraint row (excluding the z row) by dividing the RHS by the coefficient of x2.

For s1:
1500/5 = 300

For s2:
1575/3 = 525

For s3:
420/2 = 210

The smallest ratio is for s1, making s1 the leaving variable.

Thus, the correct answer is b. x2 is an entering variable, s1 is a leaving variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. (5 points) Which of the following statements is/are TRUE for the network given in Figure 1 (https://drive.google.com/file/d/1L6dkMciEyT0EuHESJkNBGC0omte_feyD/view?usp=sharing)

a. Reactions 1, 2, and 3 are blocked.
b. Reactions 4 and 5 are blocked.
c. Reactions 3 and 5 are blocked.
d. None of the above.

(2025_1, 2024_2, 2020_test)

A

google doc:
d. None of the above.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. (5 points) Given the network in Figure 1,
    https://drive.google.com/file/d/1L6dkMciEyT0EuHESJkNBGC0omte_feyD/view?usp=sharing
    where the flux of every reaction has an upper bound of 1000, which of the non-blocked reactions have a flux of zero in every optimal solution that maximizes the flux through VD:

a. V4, V5, VF.
b. V1, V2, V3, VB.
c. All but VD
d. None of the above.

(2025_1, 2024_2, 2020_test)

A

a. V4, V5, VF.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. (5 points) Given the network in Figure 1 (https://drive.google.com/file/d/1L6dkMciEyT0EuHESJkNBGC0omte_feyD/view?usp=sharing) , fixing the fluxes through VD and VF fixes the fluxes:

a. V1, V2, V3, VB.
b. V3, V4, V5.
C. V4, V5, VA.
d. All of the above.

(2025_1, 2024_2, 2020_test)

A

google doc:
b. V3, V4, V5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
  1. (5 points) Given the network in Figure 1 (https://drive.google.com/file/d/1L6dkMciEyT0EuHESJkNBGC0omte_feyD/view?usp=sharing), which of the following pairs (i,j) satisfy that reaction i is directionally coupled with j:

a. (4, 5)
b. (5,3)
c. (2,3)
d. (3, 1)

(2025_1, 2024_2, 2020_test)

A

google doc:
c. (2,3)

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q
  1. (5 points) Given the network in Figure 1 (https://drive.google.com/file/d/1L6dkMciEyT0EuHESJkNBGC0omte_feyD/view?usp=sharing), which of the following are/is NOT elementary flux mode(s) ([VA, VB, VD, VF, V1, …, V5]): (Not relevant for exams after 2023/topic in 2024 not covered)

a. [0, 1, 1, 0, 0, 1, 1, 0, 0].
b. [1,1,1,1,1,1, 1, 1, 1].
c. [1, 0, 2, 0, 1, 1, 2, 0, 0].
d. [1,0,0, 1, 0, 0, 0, 1, 1].

(2025_1, 2024_2, 2020_test)

A

google doc:
b. [1,1,1,1,1,1, 1, 1, 1].

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
  1. (5 points) The canonical form of the mathematical program with objective Ξ£(1<=i<=m)|vi| and additional n non-negative variables in linear constraints includes altogether:
    a. n+m non-negative variables.
    b. 2m non-negative variables.
    c. 2n non-negative variables.
    d. 2m+n non-negative variables.
    (2024_2, 2020_test)
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
  1. (5 points) The canonical form of the mathematical program with objective Ξ£(1<=i<=m)|vi| and additional n non-negative variables in linear constraints includes altogether:

a. n+m non-negative variables.
b. 2m non-negative variables.
c. 2n non-negative variables.
d. 2m+n non-negative variables.

(2024_2, 2020_test)

A

d. 2m+n non-negative variables.

(google doc and perplexity and cgpt)

cgpt explanation
Explanation:
The given mathematical program has an objective function Ξ£(1≀i≀m) |vi|, which involves absolute values. When absolute values appear in an optimization problem, they are typically rewritten using auxiliary variables.

To convert |vi| into a linear program, we introduce two non-negative variables for each vi:

One variable for the positive part of vi (let’s call it vi⁺)
One variable for the negative part of vi (let’s call it vi⁻)
We enforce the constraint: vi = vi⁺ - vi⁻, with vi⁺, vi⁻ β‰₯ 0
Since there are m absolute value terms, this transformation results in 2m non-negative variables.

Additionally, the problem states that there are n non-negative variables originally present in the constraints. These remain in the problem.

Thus, the total number of non-negative variables in the canonical form is:
2m + n, which corresponds to option d.
β€”
perplexity explanation
To convert the given mathematical program into canonical form, we need to consider two key aspects:

Handling the absolute value terms in the objective function

Accounting for the additional non-negative variables in linear constraints

Absolute value terms:

For each |vi| in the objective function, we introduce two non-negative variables:
vi+ and vi- such that vi = vi+ - vi-

This transformation requires 2m new non-negative variables (2 for each of the m absolute value terms)

Additional non-negative variables:

The problem statement mentions n additional non-negative variables in linear constraints

These n variables are already non-negative, so they don’t require further transformation

Therefore, the total number of non-negative variables in the canonical form is:

2m (from transforming absolute value terms)

n (original non-negative variables)

The sum of these is 2m + n, which corresponds to option d.

This transformation ensures that:

The objective function becomes linear (sum of vi+ and vi-)

All variables are non-negative

The problem adheres to the standard canonical form for linear programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Part 3 | Essay question

  1. (10 points) Provide a brute-force algorithm to determine knock-outs that maximize a given flux (5 points). Provide a description of optKnock and discuss the difference to the previous algorithm (5 points).

(2020_2, )

A

cgpt

Brute-Force Algorithm for Knock-Out Optimization (5 points)

A brute-force approach to determine knock-outs that maximize a given flux involves systematically testing all possible gene deletions and evaluating their impact on the objective flux.

Algorithm Steps:
Define the metabolic model – Load the stoichiometric matrix, reaction bounds, and biomass or target flux.
Enumerate all possible knock-outs – Generate all combinations of single, double, or higher-order knock-outs.
Evaluate each knock-out – For each set of knock-outs:
Remove the corresponding reactions/genes.
Solve Flux Balance Analysis (FBA) to determine the objective flux.
Select the best set – Identify the knock-out combination that results in the highest flux.
Drawback: This method is computationally expensive, as the number of possible knock-outs grows exponentially with the number of genes.

OptKnock and Comparison (5 points)
OptKnock is a computational method that formulates knock-out selection as a bi-level optimization problem to enhance a desired flux while maintaining metabolic feasibility.

How OptKnock Works:
- Outer optimization: Maximizes the target flux (e.g., product yield) by selecting knock-outs.
- Inner optimization: Uses FBA to determine the metabolic flux distribution that maintains growth while obeying mass balance constraints.
- Solves using MILP (Mixed-Integer Linear Programming) to efficiently find optimal knock-out strategies.

Difference from Brute-Force:
βœ… More efficient – avoids exhaustive search by using optimization techniques.
βœ… Finds global optima rather than evaluating all possible solutions.
βœ… Bi-level structure accounts for cellular adaptation post knock-out.
❌ Requires a well-formulated metabolic model and is harder to implement.

22
Q

Part 3 | Essay question

  1. (10 points) Explain what information is provided by flux variability analysis and to what end can it be used (2 points). Provide the mathematical program for flux variability analysis (5 points). Is there a relationship between flux variability and flux coupling analysis? If so, specify it mathematically (3 points).

(2020_test, 2018_test)

A

Flux Variability Analysis (FVA) – Information and Uses (2 points)
Flux Variability Analysis (FVA) determines the range of possible flux values for each reaction while maintaining a given optimality criterion (e.g., biomass maximization). It identifies:
βœ… Alternative pathways that can achieve the same objective.
βœ… Essential reactions (those with fixed flux values).
βœ… Redundant reactions (those with large variability).

Uses:

Identifying flexibility in metabolic networks.
Finding reactions with strict flux constraints vs. those with alternative pathways.
Detecting drug targets by identifying essential reactions.

Mathematical Formulation of FVA
FVA solves two linear programs per reaction 𝑖 to determine its minimum and maximum flux:
𝑣𝑖min = min𝑣𝑖
𝑣𝑖max = max𝑣𝑖​
subject to:
Sv = 0(Massbalance)
𝑣min ≀ 𝑣 ≀ 𝑣max (Fluxbounds)
𝑐𝑇 𝑣 β‰₯ π›Όπ‘“βˆ— (Enforcingoptimality,whereπ‘“βˆ—istheoptimalobjectivevalue)

where:
- 𝑆 is the stoichiometric matrix.
- 𝑣 is the flux vector.
- 𝑐𝑇 𝑣 is the objective function (e.g., biomass production).
- 𝛼 ensures optimality constraint (typically 𝛼 = 0.9 or 1.0 to explore feasible solutions at optimal growth).

Relationship Between Flux Variability and Flux Coupling Analysis (3 points)
Flux Coupling Analysis (FCA) determines dependencies between fluxes. The relationship between FVA and FCA can be mathematically expressed as:

𝑣𝑖min / ⁑𝑣𝑖max⁑ ≀
𝑣𝑖/𝑣𝑗 ≀ 𝑣𝑖max
𝑣𝑗min
⁑
where:
- 𝑣𝑖 and 𝑣𝑗 are fluxes of two reactions.
- If 𝑣𝑖min⁑ / 𝑣𝑗max =
𝑣𝑖max⁑ /𝑣𝑗min, the reactions are fully coupled (always operate in a fixed ratio).
- If 𝑣𝑖min⁑ = 𝑣𝑖max = 0, the reaction is blocked (cannot carry flux).

Key Insight: FVA provides the flux ranges needed to compute coupling coefficients in FCA.

23
Q

Part 3 | Essay question

  1. (10 points) Clearly define and mathematically specify Gibbs free energy of a reaction (2 points). Use the definition to specify the constraints in thermodynamic metabolic flux analysis (TMFA) (8 points).

(2020_test )

A

cgpt Summary (ask for more details):
- Gibbs Free Energy defines reaction spontaneity based on Δ𝐺 = Ξ”πΊβˆ˜ + 𝑅𝑇ln𝑄
- TMFA imposes directionality constraints, chemical potential relationships, and log-concentration bounds to ensure thermodynamic feasibility in FBA.
- MILP formulation is often required to enforce irreversibility constraints.

24
Q

Part 4 - Synthesis (15 points)

  1. (15 points) Provide a mathematical program that predicts a parsimonious steady- state flux distribution under the assumption that the modelled system optimizes biomass yield and the total flux through each metabolic pool is provided as input (15 points).

(2020_test)

A

from google doc, see it for more details

i guess the PFBA of lecture 10 is a hint
But Pfba is more applicable for the extra credit question and i don’t think he will repeat the same concept twice
but in 22 you could technically use a random network
personally i think the minmax in Pfba suits it
it absolutely does
i just think the questions is supposed to see how well your able to build your own program without a specific underlying topic, but this is 100% my personal guess

[ cgpt screenshot see doc]

no guarantee that this is correct thats 21, 22 and 22 in detail

25
Part 5 - Extra credit question (10 points) Specify a mathematical program that minimizes the total flux sum over all metabolic pools at steady state (8 points) The flux sum around a metabolic pool is the sum of all fluxes that contribute to the synthesis and degradation of the metabolite. Provide an illustration on a small example metabolic network (2 points). (2020_test)
Mathematical Program for Minimizing Total Flux Sum (8 points) Minimize the total absolute flux sum: minβˆ‘π‘–βˆ£π‘£π‘–βˆ£βˆ£ Constraints: Steady-State Mass Balance: 𝑆𝑣 =0 where: 𝑆 is the stoichiometric matrix (π‘šΓ—π‘›), 𝑣 is the flux vector (𝑛-dimensional). Flux Bounds: π‘£π‘–π‘šπ‘–π‘› ≀ 𝑣𝑖 ≀ π‘£π‘–π‘šπ‘Žπ‘₯ Biomass Constraint (if applicable): 𝑣biomass β‰₯ π‘“βˆ— Linearization of Absolute Values: vi+ and viβˆ’ such that: vi=vi+βˆ’viβˆ’,vi+,viβˆ’β‰₯0 Objective function becomes: min iβˆ‘ (vi++viβˆ’) Illustration on a Small Example Network (2 points) Consider a simple metabolic network with three reactions: Aβ†’B (Flux: v1) Bβ†’C (Flux: v2) Cβ†’D (Flux: v3) Stoichiometric matrix S: 𝑆 = [βˆ’1 0 0 1 βˆ’1 0 0 1 βˆ’1 0 0 1] Solving the pFBA problem ensures minimal total flux while maintaining steady-state constraints, leading to an efficient flux distribution.
26
'No sink but internal reaction' maybe something like this: (2 points) Internal (instead of ~~sink~~ in test exam) reactions in a stoichiometric representation of a metabolic network contain: a. Only non-positive stoichiometric coefficients. b. At least one pair of stoichiometric coefficients with opposite signs. c. Only non-negative stoichiometric coefficients. d. All of the above. (2024_1)
27
Part 3 - Essay questions (10 points each) MOMA vs ROOM Provide a conceptual comparison between MOMA and ROOM. Mention key Pseudocode lines and difference betw iple of a quadratic function (3), menti on what it was related to in the lecture (2024_1) Define ROOM and mathematical part behind. Why does room take only one path near the break point instead of 2 paths like MOMA? (2025_1)
from google doc MOMA and ROOM Provide a conceptual comparison between MOMA and ROOM(5pts). Precisely describe the mathematical programs underlying the two approaches (5pts). both enable knock out and comparison of mutants to wild type both don't explicitly optimize biomass MOMA: flux distribution in mutant should be as close as possible to that in wild type -> distance between optima (minimize eucledian distance) Quadratic Program by minimizing eucledian distanze ROOM: regulary changes in genetic, gene knock outs are minimized MILP flux has to show significant change bounds based on bounds of wild type and relative changes and sensitivity bound improves correlation of fluxes compared to MOMA MOMA and ROOM Explain how robustness analysis of the predictions can be carried out (5 pts). Partial knock-outs by modifying upper bounds -> recalculating optimum for the mutant and the MOMA projection Sampling-based: sample around the FBA optimum -> determine MOMA projections, allows to study alternative optima to MOMA -------------- perplexity: MOMA vs. ROOM MOMA (Minimization of Metabolic Adjustment) Assumes: Fluxes adjust smoothly after a gene knockout Objective: Minimize Euclidean distance from wild-type flux Equation: minβˆ‘(vmut,iβˆ’vwt,i) 2 Pseudocode: minimize || v_mut - v_wt ||Β² subject to: S * v_mut = 0 v_lb ≀ v_mut ≀ v_ub Computational Complexity: Polynomial-time Lecture Context: Quadratic programming, gene knockouts ROOM (Regulatory On/Off Minimization) Assumes: Minimal flux changes after a gene knockout Objective: Minimize number of flux changes Equation: min minβˆ‘Ξ΄i Ξ΄i = 1 if |vmut,i - vwt,i| > Ξ΅, else 0 Pseudocode: minimize βˆ‘ Ξ΄_i subject to: S * v_mut = 0 v_lb ≀ v_mut ≀ v_ub Ξ΄_i = 1 if |v_mut,i - v_wt,i| > Ξ΅ else 0 Computational Complexity: NP-hard Lecture Context: Sparse optimization, integer programming Key Differences MOMA - Quadratic programming, minimizes flux deviation ROOM - MILP, minimizes number of flux changes MOMA - Easier (polynomial), assumes smooth adaptation ROOM - Harder (NP-hard), assumes regulatory constraints limit changes Now exactly how you wanted.
28
Part 3 - Essay questions (10 points each) Charnes Cooper Transformation Show it in FCA and its application (2025_1, 2024_1, 2018_test similar)
Charnes-Cooper Transformation in FCA and Its Application (10 points) 1. Definition of Charnes-Cooper Transformation The Charnes-Cooper transformation is used to convert linear fractional programs (LFPs) into linear programs (LPs), making them easier to solve. A linear fractional program (LFP) has the form: min e Tx+fc T x+d ​ subject to: Ax≀b,xβ‰₯0 where c,e,A,b are given vectors/matrices. To transform it into a linear program (LP), define a new variable: t= e T x+f 1 ​ and substitute y=xt, giving a new LP: ⁑ mincTy+dt subject to: Ay≀bt,e T y+ft=1,yβ‰₯0,tβ‰₯0 2. Application in Flux Coupling Analysis (FCA) Flux Coupling Analysis (FCA) identifies dependencies between reaction fluxes. In full coupling, two fluxes vi and vj maintain a constant ratio: vjvi =c for some constant 𝑐 Since this is a fractional constraint, it can be transformed using Charnes-Cooper, defining: t= vj 1​ Rewriting: vi=cvjβ‡’vit=c This allows solving linear constraints rather than fractional constraints. 3. Practical Use in Metabolic Networks Used in FCA to check reaction coupling by converting fractional dependencies into LP constraints. Helps detect fully, partially, or directionally coupled reactions in metabolic networks. Makes bi-level optimization problems solvable in FBA extensions like OptKnock and OptStrain. This transformation is crucial for simplifying non-linear metabolic constraints into LP problems for efficient computational solving.
29
Part 3 - Essay questions (10 points each) Optknock and bilevel programming Compare two approaches to solve a bilevel linear program Provide a precise description of how bilevel programming is used for metabolic engineering (2024_1, 2018_test)
**Two approaches** KKT and Dual Problems - solve binary program by converting it into single level KKT - take lagrangian for objective and constraints - calculate gradient for langrangian - stationary optimum is at gradientL(x,l)=0 - inequality optimization needs added binding constraint Dual Problems - convert primal LP into Dual LP by rearranging the langrangian to new LP - optimal solution a optimal for primal and dual **In metabolic engineering** - increasement of product of interest possible in combination with knockout while maintaining optimal growth OptKnock - Suggests gene deletion strategies leading to the overproduction of a pre-specified metabolite using the provided metabolic model. A nested optimization framework identifies the gene deletions by coupling the production of the desired product with biomass formation.
30
Part 4 - Synthesis (15 points) You have a metabolite Mi. Get the flux range for all of fluxes for a specific metabolite. Extend the formulation(?) of fluxes by making it thermodynamically feasible (?). Something related to this was asked in the exam (2024_1)
google doc: (pFBA + MinMax + TMFA??!!). --- perplexity chat Part 4 - Synthesis (15 points) Metabolite Mi Flux Ranges (pFBA + MinMax + TMFA) Base constraints: Mass balance: Sβ‹…v = 0 (stoichiometric matrix S, flux vector v). Flux bounds: Ξ±j ≀ vj ≀ Ξ²j (physiological limits). pFBA: Minimize Ξ£vj2 (parsimonious flux) + optimal growth. Thermodynamic (TMFA) constraints: Reaction directionality: vjβ‹…Ξ”rGj' ≀ 0 (flux aligns with Ξ”G). Metabolite activity: Ξ”rGj' = Ξ”rGj'Β° + RTβ‹…ln(Ξ aiΞ½ij) (ai = activity of Mi). Extended steps for Mi: Identify all reactions with Mi in S. Apply TMFA: Enforce Ξ”rGj' ≀ 0 if vj > 0 (linearize ln(ai)). Re-run MinMax to get [vj,min, vj,max] under thermodynamic limits. Key outcomes: Eliminate infeasible loops (e.g., futile cycles). Tighter flux bounds due to metabolite activity constraints. Reversible ↔ irreversible reactions clarified via Ξ”rGj'. Exam focus: Integrate pFBA (optimal flux), MinMax (variability), and TMFA (thermo feasibility) for realistic flux ranges.
31
Part 5 - Extra credit question You have specific nutrient given and how will you maximise the yield of a given metabolite with the help of specific nutrient (2024_1)
(Answer said by Anika (not Zoran) was OptStrain, but please double check it as I am not sure.)
32
'Import reaction' maybe something like this: (2 points) Import (instead of ~~sink~~ in test exam) reactions in a stoichiometric representation of a metabolic network contain: a. Only positive stoichiometric coefficients. b. At least one pair of stoichiometric coefficients with opposite signs. c. Only non-negative stoichiometric coefficients. d. All of the above. (2024_2)
stevie thinks: only positive stoichiometric coefficients
33
The fully coupled reaction [to the objective?] shows: - correlation 1 - correlation-1 , - correlation 0 , - none of the obove (2025_1, 2024_2
stevie thinks: correlatkion 1
34
Irreversible reaction ? - - - - (2024_2,
35
xQxT concave if Q is: a. indefinite b. positive semidefinite (for convex) c. positive definite (for strictly convex) d. negative semidefinite (those options from test exam where question was convex ... - check if it makes sense?) (2024_2,
The function π‘₯𝑇𝑄π‘₯ is a quadratic form, and its concavity depends on the properties of the matrix 𝑄 Concave function: A function is concave if its Hessian (in this case, the matrix 𝑄) is negative semidefinite. Convex function: A function is convex if 𝑄 is positive semidefinite. Evaluating the Options for Concavity (a) Indefinite ❌ Incorrect – An indefinite matrix has both positive and negative eigenvalues, meaning the function is neither concave nor convex. (b) Positive semidefinite (for convex) ❌ Incorrect – A positive semidefinite matrix leads to a convex function, not concave. (c) Positive definite (for strictly convex) ❌ Incorrect – A positive definite matrix ensures strict convexity, not concavity. (d) Negative semidefinite βœ… Correct – If 𝑄 is negative semidefinite, then π‘₯𝑇𝑄π‘₯ is concave. Final Answer: (d) Negative semidefinite
36
Shadow prices of canonical LP correspond to change in the objective resulting from the changes in upper bound of the const. T/F? (2024_2,
False. Shadow prices in a canonical linear program (LP) correspond to the change in the objective function resulting from a marginal change in the right-hand side (RHS) of a constraint, not the upper bound of the constraint. If the LP is in standard form: max ⁑ 𝑐 𝑇 π‘₯ maxc T x subject to: 𝐴 π‘₯ ≀ 𝑏 , π‘₯ β‰₯ 0 Ax≀b,xβ‰₯0 The shadow price of a constraint measures how much the optimal objective value changes per unit increase in the RHS value 𝑏 𝑖 b i ​ . It is given by the dual variables (Lagrange multipliers) in the dual LP. Changes in upper bounds (e.g., variable limits) do not directly correspond to shadow prices but rather to reduced costs or sensitivity analysis of variable bounds.
37
LP of OptReg (8 points) and describe how each of the intervals can be obtained using the LP (2 points). (2024_2,
1. LP of OptReg and Interval Obtainment OptReg (Optimal Regulation) LP Formulation: Converts a linear fractional problem (LFP) to a standard LP using auxiliary variables. For an LFP: maximize c T x d T x subject to A x ≀ b , x > 0 maximize d T x c T x subject to Ax≀b,x>0 It is transformed into an LP: maximize c T x β€² subject to A x β€² ≀ t b , d T x β€² = 1 , t β‰₯ 0 maximize c T x β€² subject to Ax β€² ≀tb,d T x β€² =1,tβ‰₯0 where x β€² = x d T x x β€² = d T x x and t = 1 d T x t= d T x 1 . Interval Obtainment: Use interval coefficients in LP to handle uncertainty (e.g., reaction flux bounds). For interval LP: maximize c T x with A βˆ’ x ≀ b + , x β‰₯ 0 maximize c T x with A βˆ’ x≀b + ,xβ‰₯0 Solve for upper/lower bounds via worst-case optimization (e.g., c T x c T x under A βˆ’ A βˆ’ and A + A + constraints).
38
Define SBC and illustrate (3 points). Present a constraint based approach that generates steady state flux distribution that does not include SBC (7 points). (2024_2, 2025_1)
2. SBC Definition and Constraint-Based Steady-State Flux SBC (Simulation-Based Calibration): Validates model/algorithm consistency by simulating datasets from priors, fitting the model, and checking if posterior ranks are uniform. Failure indicates mismatched model, data generator, or algorithm. Constraint-Based Approach Without SBC: Use flux balance analysis (FBA) with: Stoichiometric matrix: S β‹… v = 0 Sβ‹…v=0 (mass balance). Flux bounds: Ξ± j ≀ v j ≀ Ξ² j Ξ± j ≀v j ≀β j (physiological limits). LP optimization: Maximize biomass (e.g., maximize v biomass maximize v biomass ). Excludes SBC’s posterior checks; relies solely on stoichiometric and thermodynamic constraints.
39
Describe the key steps in generation of a genome scale metabolic model (3 points). Present the mathematical details of gap fill of your choice (7 points) (2024_2,
3. Genome-Scale Metabolic Model Steps and Gap Filling Key Steps: Gene annotation: Identify metabolic genes (e.g., via BLAST). Reaction inclusion: Map genes to enzymes/reactions (e.g., KEGG). Stoichiometric matrix: Compile reactions into S S (rows = metabolites, columns = reactions). Test growth: Simulate under media conditions; iteratively add/remove reactions for biological plausibility. Gap-Filling LP Formulation: Minimize added reactions to enable growth: minimize βˆ‘ ∣ y j ∣ minimize βˆ‘βˆ£y j ∣ subject to: S β‹… v + y = 0 Sβ‹…v+y=0 v biomass β‰₯ v min v biomass β‰₯v min Ξ± j ≀ v j ≀ Ξ² j Ξ± j ≀v j ≀β j where y j y j represents gap-filled reactions.
40
Part 4 - Synthesis (15 points) Mathematical program for Nv = 0 (4 points) under the assumption that the modelled system optimises biomass yield (1 point) and the total flux through each metabolite pool is provided as input (10 points)
Part 4: Mathematical Program for Nv = 0 with Biomass Optimization and Total Metabolite Flux Input Variables: v j + , v j βˆ’ β‰₯ 0 v j + ,v j βˆ’ β‰₯0 (split fluxes into positive/negative components). Objective: Maximize c biomass β‹… ( v biomass + βˆ’ v biomass βˆ’ ) Maximize c biomass β‹…(v biomass + βˆ’v biomass βˆ’ ) Constraints: Mass balance: N ( v + βˆ’ v βˆ’ ) = 0 N(v + βˆ’v βˆ’ )=0. Total flux per metabolite: βˆ‘ j ∈ J i ( v j + + v j βˆ’ ) = T i βˆ‘ j∈J i (v j + +v j βˆ’ )=T i (for each metabolite i i, given input T i T i ). Flux bounds: v j + ≀ U j v j + ≀U j , v j βˆ’ ≀ βˆ’ L j v j βˆ’ β‰€βˆ’L j . Assumption: The system optimizes biomass yield (objective function).
41
Part 5 - Extra credit question (10 points) Mathematical program for shadow price derivative for metabolites in FBA (7 points). Discuss what these shadow prices provide regarding metabolite concentrations (3 points)
Part 5: Shadow Price Derivatives in FBA Mathematical Program: Solve the dual LP of the FBA primal problem: Primal: Max c T v s.t. N v = 0 , L ≀ v ≀ U . Max c T vs.t. Nv=0,L≀v≀U. Dual Variables: Ξ» i Ξ» i : Shadow price for metabolite i i (dual of N v = 0 Nv=0). ΞΌ j , Ξ½ j ΞΌ j ,Ξ½ j : Duals for flux bounds L ≀ v ≀ U L≀v≀U. Shadow Price Derivative: Ξ» i = βˆ‚ ( biomass ) βˆ‚ b i Ξ» i = βˆ‚b i βˆ‚(biomass) , where b i b i is a perturbation in metabolite i i’s mass balance. Interpretation for Concentrations: High Ξ» i Ξ» i : Metabolite i i is growth-limiting; increasing its concentration boosts biomass. Low Ξ» i Ξ» i : Metabolite i i is non-critical or abundant. Exam Focus: Shadow prices quantify metabolite criticality and guide concentration adjustments for optimal growth.
42
Part 4 - Synthesis (15 points) Given a set of reactions which can take the flux range between u1,u2 and l1,l2. And how to ensure that it increases the Biomass . (2025_1)
Part 4 - Synthesis (15 points) To increase biomass while considering flux ranges for reactions: Flux Constraints: For each reaction j: l 1 j ≀ v j βˆ’ ≀ l 2 j l 1j ≀v j βˆ’ ≀l 2j u 1 j ≀ v j + ≀ u 2 j u 1j ≀v j + ≀u 2j v j = v j + βˆ’ v j βˆ’ v j =v j + βˆ’v j βˆ’ Biomass Optimization: Maximize v biomass Maximize v biomass Mass Balance Constraint: S β‹… v = 0 Sβ‹…v=0 Total Flux Constraint (if applicable): βˆ‘ j ∈ J i ( v j + + v j βˆ’ ) = T i βˆ‘ j∈J i (v j + +v j βˆ’ )=T i Irreversibility Constraints: For irreversible reactions: v j βˆ’ = 0 v j βˆ’ =0 To ensure increased biomass: Adjust upper bounds (u1j, u2j) for reactions contributing to biomass production. Tighten lower bounds (l1j, l2j) for competing reactions. Iterate optimization, adjusting bounds based on shadow prices to identify flux-limiting reactions.
43
Part 5 - Extra credit question (10 points) Formulation of Optstrain and explain the constraints, especially for the 3rd step of the optstrain approach (2025_1)
Part 5 - Extra credit question (10 points) OptStrain Formulation (focusing on the 3rd step): Objective Function: Maximize v target βˆ’ y β‹… v biomass Maximize v target βˆ’yβ‹…v biomass Where vtarget is the flux of the target metabolite and y is a small positive number. Constraints: a) Stoichiometric balance: S β‹… v = 0 Sβ‹…v=0 b) Flux bounds: v j min ≀ v j ≀ v j max v j min ≀v j ≀v j max c) Reaction activation: v j min β‹… y j ≀ v j ≀ v j max β‹… y j v j min β‹…y j ≀v j ≀v j max β‹…y j Where yj is a binary variable (0 or 1) indicating if reaction j is active. d) Maximum number of added reactions: βˆ‘ j ∈ J added y j ≀ N max βˆ‘ j∈J added y j ≀N max Where Jadded is the set of added reactions and Nmax is the maximum allowed. e) Minimum biomass production: v biomass β‰₯ v biomass min v biomass β‰₯v biomass min f) Maximum substrate uptake: v substrate ≀ v substrate max v substrate ≀v substrate max The 3rd step of OptStrain focuses on identifying the minimum number of non-native reactions to add while maximizing target production. The key constraints ensure stoichiometric balance, limit flux ranges, activate/deactivate reactions using binary variables, restrict the number of added reactions, maintain minimum growth, and limit substrate uptake.
44
Flux Balance Analysis Explain the basic assumptions and concepts of flux balance analysis, and make these precise in a mathematical form (5 pts). What are the underlying mathematical programming concepts? (5 pts) (2018_test)
FBA based on assumption that organisms evolutionary optimize growth (cellular metabolism has evolved to maximize fitness) so the objective is the maximation of biomass optimize under steady state (gene expression and enzyme levels ~ constant over time) -> no change in metabolic concentrations max cT x s.t. Nv = 0 Vimin <= vi <= vimax function must be convex in its segment
45
Flux Balance Analysis Explain and provide examples of drawbacks to flux balance analysis. (2 pts) a (describe precisely the type of measurements needed, 3 pts). Total: 15 pts (2018_test)
drawbacks: transient states require more involved approaches to be simulated optimization of growth may not be the only objective -> bias in prediction
46
Flux Coupling Provide the definitions of the flux coupling types (5 pts). (2018_test)
directional coupled: for Nv = 0, vi non zero implies vj non zero but not reverse partial coupled: for Nv= 0, vi non zero implies vj non zero with vi/vj not constant and reverse full coupling: for Nv= 0, vi non zero implies vj non zero with vi/vj constant and reverse uncoupled else
47
Flux Coupling Provide the mathematical programs and appropriate transformations needed to solve the different types of coupling (5 pts). (2018_test)
directional coupling: o <= vi/vj <= c OR c <= vi/vj partial coupling: c1 <= vi/vj <= c2 full coupling: vi/vj = c not coupled: 0 <= vi/vj solve with linear fractional programm transformed by charnes cooper transformation into linear (2024_2, 2020_test, 2018_test)
48
Flux Coupling Illustrate each one of the flux coupling types on a small network (5 pts). Total: 15 pts (2018_test)
49
Global Optimum How do you model absolute value in the objective so that global optimum is guaranteed? (10 pts) (2018_test)
if absolute value contains linear function, it can be reformulated into two linear expressions Z=|x| -> z = x for x>=0 and -z = x for x<=0
50
XOR constraints How do you model XOR constraints and to what type of mathematical programming approach does it lead?(10 pts) (2018_test)
rewrite constraints and add additional binary variable leads to MILP