DEA¶
- class pystoned.DEA.DDF(y, x, b=None, gy=[1], gx=[1], gb=None, rts='vrs', yref=None, xref=None, bref=None)[source]¶
- __init__(y, x, b=None, gy=[1], gx=[1], gb=None, rts='vrs', yref=None, xref=None, bref=None)[source]¶
DEA: Directional distance function
- Parameters:
y (float) – output variable.
x (float) – input variables.
b (float), optional) – undesirable output variables. Defaults to None.
gy (list, optional) – output directional vector. Defaults to [1].
gx (list, optional) – input directional vector. Defaults to [1].
gb (list, optional) – undesirable output directional vector. Defaults to None.
rts (String) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale)
yref (String, optional) – reference output. Defaults to None.
xref (String, optional) – reference inputs. Defaults to None.
bref (String, optional) – reference undesirable output. Defaults to None.
- class pystoned.DEA.DEA(y, x, orient, rts, yref=None, xref=None)[source]¶
Data Envelopment Analysis (DEA)
- __init__(y, x, orient, rts, yref=None, xref=None)[source]¶
DEA: Envelopment problem
- Parameters:
y (float) – output variable.
x (float) – input variables.
orient (String) – ORIENT_IO (input orientation) or ORIENT_OO (output orientation)
rts (String) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale)
yref (String, optional) – reference output. Defaults to None.
xref (String, optional) – reference inputs. Defaults to None.
- optimize(email='local', solver=None)[source]¶
Optimize the function by requested method
- Parameters:
email (string) – The email address for remote optimization. It will optimize locally if OPT_LOCAL is given.
solver (string) – The solver chosen for optimization. It will optimize with default solver if OPT_DEFAULT is given.
- class pystoned.DEA.DUAL(y, x, orient, rts, yref=None, xref=None)[source]¶
- __init__(y, x, orient, rts, yref=None, xref=None)[source]¶
DEA: Multiplier problem
- Parameters:
y (float) – output variable.
x (float) – input variables.
orient (String) – ORIENT_IO (input orientation) or ORIENT_OO (output orientation)
rts (String) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale)
yref (String, optional) – reference output. Defaults to None.
xref (String, optional) – reference inputs. Defaults to None.