<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Saving Remembered Settings in Profiler in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815935#M99613</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/56254"&gt;@andresm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think changing the names of your different optimas may help.&lt;/P&gt;
&lt;P&gt;If I saved different settings in the Profiler without changing the names of these optimas, then the script doesn't contain the others optimas saved :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Profiler(
	Y( :Pred Formula Y ),
	Profiler(
		1,
		Desirability Functions( 1 ),
		Maximize and Remember,
		Term Value(
			:X1( 70, Lock( 1 ), Show( 1 ) ),
			:X2( 10.526040687038, Lock( 0 ), Show( 1 ) ),
			:X3( 13.4, Lock( 1 ), Show( 1 ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Whereas if I change the names of each of the Remembered settings, JMP saves each Profiler Remembered settings :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Profiler(
	Y( :Pred Formula Y ),
	Profiler(
		1,
		Desirability Functions( 1 ),
		Maximize and Remember,
		Term Value(
			:X1( 70, Lock( 0 ), Show( 1 ) ),
			:X2( 12.0897151634458, Lock( 0 ), Show( 1 ) ),
			:X3( 5, Lock( 0 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_fixed(X1=70)" ),
		Term Value(
			:X1( 70, Lock( 0 ), Show( 1 ) ), :X2( 8.9769197, Lock( 0 ), Show( 1 ) ),
			:X3( 5.69781686372509, Lock( 0 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_fixed(X1=70&amp;amp;X2=8,97)", Differences Report( 1 ) ),
		Term Value(
			:X1( 70, Lock( 0 ), Show( 1 ) ), :X2( 8.9769197, Lock( 0 ), Show( 1 ) ),
			:X3( 5.69781686372509, Lock( 0 ), Show( 1 ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think the default name for a remembered setting is "_Optimal_" and works ok if you only save one, but if you save several ones, you need to change the naming in order to avoid names conflict.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is your datatable with the added script "Profiler of Pred Formula Y 2", where you should see 3 remembered settings :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1732114582800.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70449iB8F8129722883F5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1732114582800.png" alt="Victor_G_0-1732114582800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if it solves your problem,&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2024 14:56:44 GMT</pubDate>
    <dc:creator>Victor_G</dc:creator>
    <dc:date>2024-11-20T14:56:44Z</dc:date>
    <item>
      <title>Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/813956#M99580</link>
      <description>&lt;P&gt;In JMP 17.2.0 I am using Optimization and Desirability -&amp;gt; Maximize and Remember to generate optimized settings for different situations (e.g. factors locked differently). When saving the Profiler as script to Data Table and re-open, only the first setting is there and the others are gone.&amp;nbsp;Would it help if I changed something in the preferences?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 13:43:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/813956#M99580</guid>
      <dc:creator>andresm</dc:creator>
      <dc:date>2024-11-19T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815789#M99608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/56254"&gt;@andresm&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've given this a try on v18 and haven't had any issues. How are you 'locking' the factor settings before using the maximization option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 11:40:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815789#M99608</guid>
      <dc:creator>Ben_BarrIngh</dc:creator>
      <dc:date>2024-11-20T11:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815819#M99609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/56254"&gt;@andresm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome in the Community !&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To lock factor settings, use CTRL (or ALT) + click on the factor :&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/set-or-lock-factor-values.shtml#" target="_blank" rel="noopener"&gt;Set or Lock Factor Values&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In order to debug and understand where the error can be, can you right-click on the saved Profiler script and check the code to make sure you have lost your saved settings ? :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Profiler(
	Y( :Pred Formula Y, :PredSE Y ),
	Profiler(
		1,
		Confidence Intervals( 1 ),
		Desirability Functions( 1 ),
		Maximize and Remember,
		Term Value(
			:X1( -1, Lock( 0 ), Show( 1 ) ), :X2( "x", Lock( 0 ), Show( 1 ) ),
			:X3( "A", Lock( 1 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_A", Differences Report( 0 ) ),
		Term Value(
			:X1( -1, Lock( 0 ), Show( 1 ) ), :X2( "x", Lock( 0 ), Show( 1 ) ),
			:X3( "B", Lock( 1 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_B" ),
		Term Value(
			:X1( 1, Lock( 0 ), Show( 1 ) ), :X2( "z", Lock( 0 ), Show( 1 ) ),
			:X3( "C", Lock( 1 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_C" ),
		Term Value(
			:X1( 1, Lock( 0 ), Show( 1 ) ), :X2( "z", Lock( 0 ), Show( 1 ) ),
			:X3( "D", Lock( 1 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_D", Differences Report( 1 ) ),
		Term Value(
			:X1( 1, Lock( 0 ), Show( 1 ) ), :X2( "z", Lock( 0 ), Show( 1 ) ),
			:X3( "D", Lock( 1 ), Show( 1 ) )
		)
	),
	Use SE Formula( 1 )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In my example, these are the lines next to "Remember Settings" : I have saved 4 optima with specific names for the 4 levels of factor X3 in the 2x3x4 Factorial dataset from JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you may have a bug, but if you can share an anonymized version of the dataset or if you use the code structure I shared above, you can edit your script to add the missing remembered settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/51054"&gt;@Ben_BarrIngh&lt;/a&gt;&amp;nbsp;I don't have the same bug, but JMP constantly adds a new default "_Optimal_" value without constraints when I save the script. Maybe in the case of&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/56254"&gt;@andresm&lt;/a&gt;&amp;nbsp;this action also has removed previous optima (but this is not my case).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answer can help you,&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 13:06:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815819#M99609</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2024-11-20T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815856#M99610</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just mentioned locking factors to illustrate why I need to save multiple settings. I use ALT+click on the factor graph in Profiler. The problem is not related on this but saving the result as script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andres&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 13:27:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815856#M99610</guid>
      <dc:creator>andresm</dc:creator>
      <dc:date>2024-11-20T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815869#M99611</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;I attach my example file here. Also screenshots of Profile before saving as script to data table and after running the saved script.&lt;/P&gt;&lt;P&gt;I also attach the saved script.&lt;/P&gt;&lt;P&gt;Andres&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Profiler(
	Y( :Pred Formula Y ),
	Profiler(
		1,
		Desirability Functions( 1 ),
		Maximize and Remember,
		Term Value(
			X1( 70, Lock( 1 ), Show( 1 ) ),
			X2( 12.0897151634458, Lock( 0 ), Show( 1 ) ),
			X3( 5, Lock( 0 ), Show( 1 ) )
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="before_saving.png" style="width: 399px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70445i92A07A4B8DF351B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="before_saving.png" alt="before_saving.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="after_run.png" style="width: 403px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70446i5E64D214F05481B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="after_run.png" alt="after_run.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 13:55:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815869#M99611</guid>
      <dc:creator>andresm</dc:creator>
      <dc:date>2024-11-20T13:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815878#M99612</link>
      <description>&lt;P&gt;I also can add the JMP file here.&lt;/P&gt;&lt;P&gt;Andres&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 13:57:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815878#M99612</guid>
      <dc:creator>andresm</dc:creator>
      <dc:date>2024-11-20T13:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815935#M99613</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/56254"&gt;@andresm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think changing the names of your different optimas may help.&lt;/P&gt;
&lt;P&gt;If I saved different settings in the Profiler without changing the names of these optimas, then the script doesn't contain the others optimas saved :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Profiler(
	Y( :Pred Formula Y ),
	Profiler(
		1,
		Desirability Functions( 1 ),
		Maximize and Remember,
		Term Value(
			:X1( 70, Lock( 1 ), Show( 1 ) ),
			:X2( 10.526040687038, Lock( 0 ), Show( 1 ) ),
			:X3( 13.4, Lock( 1 ), Show( 1 ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Whereas if I change the names of each of the Remembered settings, JMP saves each Profiler Remembered settings :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Profiler(
	Y( :Pred Formula Y ),
	Profiler(
		1,
		Desirability Functions( 1 ),
		Maximize and Remember,
		Term Value(
			:X1( 70, Lock( 0 ), Show( 1 ) ),
			:X2( 12.0897151634458, Lock( 0 ), Show( 1 ) ),
			:X3( 5, Lock( 0 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_fixed(X1=70)" ),
		Term Value(
			:X1( 70, Lock( 0 ), Show( 1 ) ), :X2( 8.9769197, Lock( 0 ), Show( 1 ) ),
			:X3( 5.69781686372509, Lock( 0 ), Show( 1 ) )
		),
		Remember Settings( "Optimal_fixed(X1=70&amp;amp;X2=8,97)", Differences Report( 1 ) ),
		Term Value(
			:X1( 70, Lock( 0 ), Show( 1 ) ), :X2( 8.9769197, Lock( 0 ), Show( 1 ) ),
			:X3( 5.69781686372509, Lock( 0 ), Show( 1 ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think the default name for a remembered setting is "_Optimal_" and works ok if you only save one, but if you save several ones, you need to change the naming in order to avoid names conflict.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is your datatable with the added script "Profiler of Pred Formula Y 2", where you should see 3 remembered settings :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1732114582800.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70449iB8F8129722883F5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1732114582800.png" alt="Victor_G_0-1732114582800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if it solves your problem,&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 14:56:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815935#M99613</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2024-11-20T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Remembered Settings in Profiler</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815937#M99614</link>
      <description>&lt;P&gt;Thank you, Victor!&lt;/P&gt;&lt;P&gt;This solved my problem.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andres&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 15:26:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-Remembered-Settings-in-Profiler/m-p/815937#M99614</guid>
      <dc:creator>andresm</dc:creator>
      <dc:date>2024-11-20T15:26:30Z</dc:date>
    </item>
  </channel>
</rss>

