Skip to content

How to edit and existing solver#

Modify solver source code#

Tip

Go to the solver’s repository details page and click the Pull button to re-build it after any changes on the source-code.

If you perform any changes on the solver’s source code, you have to “pull” it again to update and re-build it in QFStudio.

To do this, go to your solver’s detail page, click the button Pull to go to the repository detail’s page, scroll down to the list of solvers and click the button Pull next your solver to start the process.

Wait for the process to complete. You can check the status bellow in the Repository pulls history section.

Modify the solver details#

You can modify the solvers that you created.

To this:

  1. Go to the section My solvers through the left side menu
  2. Then, click on the solver you want to edit, to go to its detail page
  3. On the right side panel, click the Edit button
  4. You will get the solver edition wizzard where you can modify any information fields of the solver:
    • Label
    • Description
    • Prameters. This a JSON field that allows you to add custom parameters to your solver. These parameters will be available in your solver run() function as solver_params.
    • Cost
  5. Click the Save button to save changes

Disable a solver#

You can also disable any of the solvers that you have created.

This action will make the solver no longer visible and usable to the rest of the users in your organization.

Caution

If you disable a solver, all the existing integrations by the consumers will stop working.

To disable a solver:

  1. Go to the section My solvers through the left side menu
  2. Then, click on the solver you want to edit, to go to its detail page
  3. On the right side panel, click the Disable button
  4. Click OK in the pop-up dialog to confirm the action.

Enable a solver#

You can enable again a solver that you have previously disabled.

This action will make the solver visible and usable again to the rest of the users in your organization.

To enable a solver:

  1. Go to the section My solvers through the left side menu
  2. Then, click on the solver you want to edit, to go to its detail page
  3. On the right side panel, click the Ensable button
  4. Click OK in the pop-up dialog to confirm the action.

Delete a solver#

You can delete any of the solvers that you have created.

This action will delete the solver for you and for the the rest of the users in your organization.

Caution

This action is irreversible.

Caution

If you delete a solver, all the existing integrations by the consumers will stop working.

Tip

Instead of deleting the solver, just disable it. It will be invisible to everybody but you, and you’ll be able to re-enable it again if you want.

To delete a solver:

  1. Go to the section My solvers through the left side menu
  2. Then, click on the solver you want to edit, to go to its detail page
  3. On the right side panel, click the Disable button to first disable it
  4. Click OK in the pop-up dialog to confirm the action.
  5. When the solver is diabled, on the right side panel, click the Delete button
  6. Click OK in the pop-up dialog to confirm the action.

What’s next#

Execute the solver

Get started with the API and SDK