<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def network_lpf(network, snapshots=None, skip_pre=False):
 """ Linear power flow for generic network. Parameters snapshots : list-like|single snapshot A subset or an elements of network.snapshots on which to run the power flow, defaults to network.snapshots skip_pre: bool, default False Skip the preliminary steps of computing topology, calculating dependent values and finding bus controls. Returns ------- None """


    _network_prepare_and_run_pf(network, snapshots, skip_pre, linear=True)