Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Simple Travelling salesman problem

807601May 20 2008 — edited May 22 2008
Dear Anyone,

i know this query mite sound silly but the fact is i haven found a neat solution to this simple problem on the internet or the forum.. All existing solutions are way too complicated using Genetic algorithms or annealing etc.

I have a list of 10 places with respective lat/lon. I want to sort them in the travelling Salesman problem taking the first place as origin. Since there are only 10 places, i guess even Brute Force method is practical. So can anyone help out with sample codes or links??? I am kinda newbie in this area of coding..

Comments

Christian.Shay -Oracle

Hi William,

What version of the database are you using?

The ORA-28040 issue that was fixed was for certain Oracle Database users that were created using Oracle 10 authenticators. This can occur if a user from an old version of the database was migrated to a newer version of the database.

Despite our fix, if your user is too old, it might still not work. The legitimate reason for this error is to tell you that the encyption used on your password is too old and insecure.

Assuming you are using a database version that is currently supported, you may be able to workaround this by dropping your user and recreating it using the new database.

Otherwise, I can look at the trace and tell you what the issue is:

  1. Go to the Oracle Developer Tools for VS Code settings
    2. Check "Enable Logging"
    3. Set Logging Level to "Trace"
    4. Close VS Code
    5. Reopen VS Code
    6. Reproduce the ORA-28040 error
    7. From cmd palette (F1), enter "Developer: Open Extension Logs Folder". It will open file explorer. Look in "Oracle.oracledevtools" folder.
    8. close Visual Studio Code
    9. After closing Visual Studio Code please email me all files shown in the "Oracle.oracledevtools" folder at email address: christianDOTshayAToracleDOTcom
Christian.Shay -Oracle

Hi William,

I never received an email from you.

Can you click on the extension in the VS Code marketplace pane and select "Install Specific Version" and try version 21.10.0?

If 21.10 works then there is a bug here. If it doesn't work, it means that the error message is valid and the user was created with a database version that is too old. This can occur if your current database version is very old, or if you migrated your user from an old database. If this issue occured because of a user migration, that can be worked around by dropping and recreating your user.

(If your current database is very old you may be out of luck)

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 2 2023
Added on May 20 2008
25 comments
545 views