<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:53:22 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[FIBERALLOC-47] Reserve fibers that will be assigned to sky and calib targets later</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/FIBERALLOC-47</link>
                <project id="10500" key="FIBERALLOC">Target to fiber allocation and configuration</project>
                    <description>&lt;p&gt;It should be possible to reserve some fibers for later assignment to sky or calibration targets whn running the fiber allocator.&lt;/p&gt;

&lt;p&gt;This should not be hard to implement in principle, I only have a technical question:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;should we reserve a particular set of fibers (identified by their IDs), or&lt;/li&gt;
	&lt;li&gt;should we just reserve a specified number of fibers (without specifying their IDs)?&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="23587">FIBERALLOC-47</key>
            <summary>Reserve fibers that will be assigned to sky and calib targets later</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="Martin.Reinecke">Martin Reinecke</assignee>
                                    <reporter username="Martin.Reinecke">Martin Reinecke</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Jun 2023 13:39:28 +0000</created>
                <updated>Fri, 20 Oct 2023 09:42:59 +0000</updated>
                            <resolved>Fri, 20 Oct 2023 09:42:59 +0000</resolved>
                                                                    <component>ets_fiberalloc</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="33242" author="martin.reinecke" created="Fri, 23 Jun 2023 14:20:37 +0000"  >&lt;p&gt;Case 1 (reserving fibers by their ID) is strictly spaking already implemented,since one of the inputs to the fiber assigner is a bench description. If the fibers that should be reserved are simply deleted from the input bench object, this should lead to the desired results.&lt;/p&gt;</comment>
                            <comment id="33980" author="kiyoto.yabe" created="Mon, 10 Jul 2023 01:34:31 +0000"  >&lt;p&gt;We have started to talk with several persons of the science team. We will summarize a list of some issues and requests (including this) later.&lt;/p&gt;</comment>
                            <comment id="33983" author="rhl" created="Mon, 10 Jul 2023 12:39:52 +0000"  >&lt;p&gt;Can you add a few words about the motivation?  This is something that the netflow handles automatically, guaranteeing the requested number of high-priority sky/calib fibres while allowing freedom to choose them from a large set.  &lt;/p&gt;</comment>
                            <comment id="33984" author="martin.reinecke" created="Mon, 10 Jul 2023 12:46:00 +0000"  >&lt;p&gt;Personally I don&apos;t know the motivation. I opened the issue because the feature was requested during the ICS/PFI+MCS telecon on Jun 23.&lt;/p&gt;</comment>
                            <comment id="33985" author="kiyoto.yabe" created="Mon, 10 Jul 2023 17:01:33 +0000"  >&lt;p&gt;Andy reported that the netflow was really slow if a large number of scientific objects was optimized including calibration targets at the same time (for some reason). An option is that particular fibers are reserved for sky and fluxstds and removed from the full netflow problem. If you have a chance, please ask Andy for more (recent) update (he was not there in the meeting yesterday).&lt;/p&gt;</comment>
                            <comment id="34310" author="martin.reinecke" created="Mon, 21 Aug 2023 08:25:31 +0000"  >&lt;p&gt;I have added a tentative implementation at &lt;a href=&quot;https://github.com/Subaru-PFS/ets_fiberalloc/pull/18&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/ets_fiberalloc/pull/18&lt;/a&gt;; please have a look!&lt;/p&gt;</comment>
                            <comment id="35451" author="kiyoto.yabe" created="Fri, 13 Oct 2023 05:00:07 +0000"  >&lt;p&gt;Sorry for the delay, but I just started to look into this finally. I added comments regarding specific part in the code on GitHub.&lt;/p&gt;

&lt;p&gt;I&apos;m testing a real field for the Oct engineering run with codes to make pfsDesign on `ets_pointing` with modification for this ticket. Without this implementation, ~2300 fibers are assigned to SCIENCE targets (no calibration targets). After I set `numReservedFibers` to 1000 and `fiberNonAllocationCost`=1e+12, the number of fibers to SCIENCE targets decreases down to ~1600, which looks larger than expected. I thought that reserved fibers should be blank, but they look to be assigned as SKY targets, even if I set the number of calibration targets is 0. This may be a problem of scripts of `ets_pointing` but what do you suppose about the target class of the reserved fibers?&#160;&lt;/p&gt;

&lt;p&gt;And is it possible to officially implement for case 1? I like to reserved fibers proved by a list of specified fiberIds. Or it would be helpful to have an example to change bench information for this.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;BTW, it seems to be true that calibration targets are assigned preferentially to blank fibers among science targets.&lt;/p&gt;</comment>
                            <comment id="35452" author="martin.reinecke" created="Fri, 13 Oct 2023 07:14:16 +0000"  >&lt;p&gt;I hope that the strange results you are reporting are fixed by the latest commit on the branch. Please let me know whether it does improve things!&lt;/p&gt;

&lt;p&gt;Concerning the implementation of case 1: this should probably happen outside the `netflow` package, by manipulating the `ics.cobraOps.Bench` object that is passed to `netflow`.&lt;br/&gt;
 Alternatively I can add another argument to `buildProblem` which contains a list of Cobra IDs to be used. However this feels a bit like an unnecessary complication of the interface to me.&lt;/p&gt;</comment>
                            <comment id="35525" author="kiyoto.yabe" created="Wed, 18 Oct 2023 04:07:55 +0000"  >&lt;p&gt;Thanks. I confirmed that that fix resolved the problem. Now it looks working as expected, so I think we can close this ticket (at least for this specific functionality). For another implementation, we should file a new one if necessary (I agree and I feel that it looks outside the netflow part). And I heard that you talked to Masahiro about the two-stage implementation. I&apos;m still not sure whether that is somewhat related to the topics on this ticket or not. Anyway, we can discuss with the science team at some point, and file the implementation tickets later.&lt;/p&gt;</comment>
                            <comment id="35569" author="martin.reinecke" created="Fri, 20 Oct 2023 09:42:01 +0000"  >&lt;p&gt;Thank you! I&apos;ll merge the branch and close the ticket then.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzsy1z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>