Optarrow

solveCobraLPOptArrow(LPproblem, problemTypeParams, solverParams)[source]

Solve a COBRA LP problem through the OptArrow backend

USAGE:

result = solveCobraLPOptArrow (LPproblem, problemTypeParams, solverParams)

INPUTS:
  • LPproblem – COBRA LP problem structure

  • problemTypeParams – structure of problem-type parameters

  • solverParams – structure of solver parameters

OUTPUT:

result – structure with fields compatible with the solveCobraLP solver dispatch

This helper keeps the OptArrow integration downstream from the generic COBRA solver interface. It supports:

  • a CLI-backed local Python path

  • an HTTP path through the generic OptArrow MATLAB client

solveCobraQPOptArrow(QPproblem, problemTypeParams, solverParams)[source]

Solve a COBRA QP problem through the OptArrow backend

USAGE:

result = solveCobraQPOptArrow (QPproblem, problemTypeParams, solverParams)

INPUTS:
  • QPproblem – COBRA QP problem structure

  • problemTypeParams – structure of problem-type parameters

  • solverParams – structure of solver parameters

OUTPUT:

result – structure with fields compatible with the solveCobraQP solver dispatch

testOptArrowBackend()[source]

testOptArrowBackend Minimal MATLAB smoke test for the COBRA OptArrow LP backend.

USAGE:

testOptArrowBackend()

testOptArrowEcoliCoreFBA()[source]

testOptArrowEcoliCoreFBA End-to-end COBRA FBA test on ecoli_core using OptArrow.

USAGE:

testOptArrowEcoliCoreFBA()

testOptArrowEcoliCoreHttpFBA(endpoint)[source]

testOptArrowEcoliCoreHttpFBA End-to-end COBRA FBA test on ecoli_core via OptArrow HTTP.

USAGE:
  • testOptArrowEcoliCoreHttpFBA()

  • testOptArrowEcoliCoreHttpFBA (endpoint)

testOptArrowQPBackend()[source]

testOptArrowQPBackend Minimal MATLAB smoke test for the COBRA OptArrow QP backend.

USAGE:

testOptArrowQPBackend()