constraints for EBA and CBA
f = cbaf1(x,zv,weights)
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
cba_economic_state CBA_ECONOMIC_STATE - Find fluxes, chemical and economic potentials satisfying FBA/EBA/CBA constraints
SOURCE CODE
0001 function f = cbaf1(x,zv,weights)
0002
0003 % constraints for EBA and CBA
0004 % f = cbaf1(x,zv,weights)
0005
0006 f = zv'*x + sum(weights .* x .^ 2);