Error code 10004

If you encounter the Zoom install error code 10004, then try to check the Zoom server status or keep reading this guide for better fixes.

Take a closer look at these confirmed fixes right away

by Henderson Jayden Harper

Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world. He also enjoys… read more


Published on February 1, 2023

Reviewed by
Alex Serban

Alex Serban

After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server… read more

  • Zoom install update error 10004 can occur due to an outdated Zoom client that may prevent it from connecting with its servers.
  • Allowing Zoom through Windows Firewall can fix the error.

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

You can run into errors for many reasons when using the Zoom client on your computer. These errors can make the Zoom client inaccessible, preventing you from joining meetings. The Zoom install error code 10004 is one of such that users report.

Another error users report is Zoom Error Code 100000502 when joining a meeting.

What is Zoom update error code 10004?

The Zoom update error code 10004 is related to update issues with the Zoom client. The error appears while users are on Zoom calls, causing difficulties accessing Zoom meetings. It is due to the Zoom client having trouble connecting with the Zoom servers.

Furthermore, the error can occur on various operating systems, including Windows and macOS. Factors that can cause the error are:

  • Zoom client auto-update failure – When Zoom cannot update to the latest version, it can prompt an error.
  • Network connection issues When there is network congestion or a poor network connection, it can cause an error on Zoom.
  • Third-party app on your device Apps like antivirus software can impede the connection between the Zoom client and its servers.
  • Zoom server issues – The error may occur if Zoom servers are down or under maintenance. It can make the platform inaccessible.

These causes may vary depending on the instance. However, there are some fixes to help get the Zoom client working.

How do I fix the Zoom install error code 10004?

Try the following preliminary checks:

  • Fix network congestion on your PC.
  • Turn off background apps running on your computer.
  • Restart Windows in Safe Mode and check if the error is resolved.
  • Zoom may not be able to connect to its servers if maintenance is in progress or if the servers are down. So, you should check Zoom’s social platforms for updates about the issue.
  • you can contact Zoom Support for help with the inability to install updates, error code 10004.

If the error persists, proceed with the solutions below. They will also address the Zoom error code 10004 Ventura, and Zoom update install error code 10004 issues.

1. Update the Zoom client on your PC

  1. Left-click the Start button, type zoom, and click Open from the options to launch it.
  2. Click on the Profile icon in the top-right corner and select Check for Updates.

If there’s any update available, follow all on-screen prompts to install it. Updating the Zoom client on your PC will fix any bugs that may stop it from connecting to its servers.

2. Allow Zoom through Windows Firewall

  1. Press the Windows key, type windows security, and click Open.
  2. Tap the Virus & threat protection option, scroll down, and click on Manage ransomware protection.
  3. Click on the Allow an app or feature through Firewall option.
  4. Click on Change settings, check the box for Private and Public beside Zoom, and click OK.
  5. Restart your computer and check if the error persists.

Allowing Zoom through the Firewall will fix Windows Firewall blocking the app features or any interference from the antivirus program. This fix is exclusive to Windows.

Read more about this topic

  • 5 Easy Fixes to Tinder Failed to Update Profile Pic
  • Chat GPT Not Working? How to Fix in 2023
  • Fix: This Page Isn’t Eligible to Have a Username [Facebook]

3. Reinstall the Zoom app on MacOS

  1. On your Mac, click the Finder icon to launch the app.
  2. Click on Applications from the left pane and select Zoom from the list of installed apps.
  3. Press the menu button at the top bar, then click on Move to Bin to uninstall the Zoom app on your Mac.
  4. Click on the Bin icon on your taskbar, click on the deleted Zoom app, press the Menu button at the top bar, then click Empty Bin to delete the Zoom app permanently.
  5. Restart your Mac, download the latest Zoom app, and check if the error persists.

The error should be fixed, and Zoom should be able to connect to its servers on Windows and even Mac.

Alternatively, check our guide on fixing error code 5003 on Zoom and get it working. Likewise, read about Zoom error code 1001 if you encounter it while using the app.

For more questions or suggestions, kindly use the comments section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

newsletter icon

Newsletter

How to fix the Runtime Code 10004 Microsoft Access Error 10004

This article features error number Code 10004, commonly known as Microsoft Access Error 10004 described as Do you want to permanently delete the selected field(s) and all the data in the field(s)[email protected] permanently delete the field(s), click [email protected]@[email protected]@@2.

About Runtime Code 10004

Runtime Code 10004 happens when Microsoft Access fails or crashes whilst it’s running, hence its name. It doesn’t necessarily mean that the code was corrupt in some way, but just that it did not work during its run-time. This kind of error will appear as an annoying notification on your screen unless handled and corrected. Here are symptoms, causes and ways to troubleshoot the problem.

Definitions (Beta)

Here we list some definitions for the words contained in your error, in an attempt to help you understand your problem. This is a work in progress, so sometimes we might define the word incorrectly, so feel free to skip this section!

  • Access — DO NOT USE this tag for Microsoft Access, use [ms-access] instead
  • Click — In user interfaces, click refers to the depressing of a mouse button or similar input device.
  • Field — In computer science a field is a smaller piece of data from a larger collection.
  • Selected — This is a general tag used when talking about one or more GUI elements that isare selected by the user.
  • Access — Microsoft Access, also known as Microsoft Office Access, is a database management system from Microsoft that commonly combines the relational Microsoft JetACE Database Engine with a graphical user interface and software-development tools
  • Microsoft access — Microsoft Access, also known as Microsoft Office Access, is a database management system from Microsoft that commonly combines the relational Microsoft JetACE Database Engine with a graphical user interface and software-development tools

Symptoms of Code 10004 — Microsoft Access Error 10004

Runtime errors happen without warning. The error message can come up the screen anytime Microsoft Access is run. In fact, the error message or some other dialogue box can come up again and again if not addressed early on.

There may be instances of files deletion or new files appearing. Though this symptom is largely due to virus infection, it can be attributed as a symptom for runtime error, as virus infection is one of the causes for runtime error. User may also experience a sudden drop in internet connection speed, yet again, this is not always the case.

Fix Microsoft Access Error 10004 (Error Code 10004)
(For illustrative purposes only)

Causes of Microsoft Access Error 10004 — Code 10004

During software design, programmers code anticipating the occurrence of errors. However, there are no perfect designs, as errors can be expected even with the best program design. Glitches can happen during runtime if a certain error is not experienced and addressed during design and testing.

Runtime errors are generally caused by incompatible programs running at the same time. It may also occur because of memory problem, a bad graphics driver or virus infection. Whatever the case may be, the problem must be resolved immediately to avoid further problems. Here are ways to remedy the error.

Repair Methods

Runtime errors may be annoying and persistent, but it is not totally hopeless, repairs are available. Here are ways to do it.

If a repair method works for you, please click the upvote button to the left of the answer, this will let other users know which repair method is currently working the best.

Please note: Neither ErrorVault.com nor it’s writers claim responsibility for the results of the actions taken from employing any of the repair methods listed on this page — you complete these steps at your own risk.

Method 1 — Close Conflicting Programs

When you get a runtime error, keep in mind that it is happening due to programs that are conflicting with each other. The first thing you can do to resolve the problem is to stop these conflicting programs.

  • Open Task Manager by clicking Ctrl-Alt-Del at the same time. This will let you see the list of programs currently running.
  • Go to the Processes tab and stop the programs one by one by highlighting each program and clicking the End Process buttom.
  • You will need to observe if the error message will reoccur each time you stop a process.
  • Once you get to identify which program is causing the error, you may go ahead with the next troubleshooting step, reinstalling the application.

Method 2 — Update / Reinstall Conflicting Programs

Using Control Panel

  • For Windows 7, click the Start Button, then click Control panel, then Uninstall a program
  • For Windows 8, click the Start Button, then scroll down and click More Settings, then click Control panel > Uninstall a program.
  • For Windows 10, just type Control Panel on the search box and click the result, then click Uninstall a program
  • Once inside Programs and Features, click the problem program and click Update or Uninstall.
  • If you chose to update, then you will just need to follow the prompt to complete the process, however if you chose to Uninstall, you will follow the prompt to uninstall and then re-download or use the application’s installation disk to reinstall the program.

Using Other Methods

  • For Windows 7, you may find the list of all installed programs when you click Start and scroll your mouse over the list that appear on the tab. You may see on that list utility for uninstalling the program. You may go ahead and uninstall using utilities available in this tab.
  • For Windows 10, you may click Start, then Settings, then choose Apps.
  • Scroll down to see the list of Apps and features installed in your computer.
  • Click the Program which is causing the runtime error, then you may choose to uninstall or click Advanced options to reset the application.

Method 3 — Update your Virus protection program or download and install the latest Windows Update

Virus infection causing runtime error on your computer must immediately be prevented, quarantined or deleted. Make sure you update your virus program and run a thorough scan of the computer or, run Windows update so you can get the latest virus definition and fix.

Method 4 — Re-install Runtime Libraries

You might be getting the error because of an update, like the MS Visual C++ package which might not be installed properly or completely. What you can do then is to uninstall the current package and install a fresh copy.

  • Uninstall the package by going to Programs and Features, find and highlight the Microsoft Visual C++ Redistributable Package.
  • Click Uninstall on top of the list, and when it is done, reboot your computer.
  • Download the latest redistributable package from Microsoft then install it.

Method 5 — Run Disk Cleanup

You might also be experiencing runtime error because of a very low free space on your computer.

  • You should consider backing up your files and freeing up space on your hard drive
  • You can also clear your cache and reboot your computer
  • You can also run Disk Cleanup, open your explorer window and right click your main directory (this is usually C: )
  • Click Properties and then click Disk Cleanup

Method 6 — Reinstall Your Graphics Driver

If the error is related to a bad graphics driver, then you may do the following:

  • Open your Device Manager, locate the graphics driver
  • Right click the video card driver then click uninstall, then restart your computer

Method 7 — IE related Runtime Error

If the error you are getting is related to the Internet Explorer, you may do the following:

  1. Reset your browser.
    • For Windows 7, you may click Start, go to Control Panel, then click Internet Options on the left side. Then you can click Advanced tab then click the Reset button.
    • For Windows 8 and 10, you may click search and type Internet Options, then go to Advanced tab and click Reset.
  2. Disable script debugging and error notifications.
    • On the same Internet Options window, you may go to Advanced tab and look for Disable script debugging
    • Put a check mark on the radio button
    • At the same time, uncheck the «Display a Notification about every Script Error» item and then click Apply and OK, then reboot your computer.

If these quick fixes do not work, you can always backup files and run repair reinstall on your computer. However, you can do that later when the solutions listed here did not do the job.

Other languages:

Wie beheben Fehler 10004 (Microsoft Access-Fehler 10004) — Möchten Sie die ausgewählten Felder und alle Daten in den Feldern dauerhaft lö[email protected] die Felder dauerhaft zu löschen, klicken Sie auf [email protected]@[email protected]@@2.
Come fissare Errore 10004 (Errore di Microsoft Access 10004) — Vuoi eliminare definitivamente i campi selezionati e tutti i dati nei [email protected] eliminare definitivamente i campi, fai clic su Sì[email protected]@[email protected]@@2.
Hoe maak je Fout 10004 (Microsoft Access-fout 10004) — Wilt u de geselecteerde velden en alle gegevens in de velden definitief [email protected] de velden definitief te verwijderen, klikt u op [email protected]@[email protected]@@2.
Comment réparer Erreur 10004 (Erreur d’accès Microsoft 10004) — Voulez-vous supprimer définitivement le(s) champ(s) sélectionné(s) et toutes les données dans le(s) champ(s) [email protected] supprimer définitivement le(s) champ(s), cliquez sur [email protected]@[email protected]@@2.
어떻게 고치는 지 오류 10004 (마이크로소프트 액세스 오류 10004) — 선택한 필드와 필드의 모든 데이터를 영구적으로 삭제하시겠습니까[email protected]필드를 영구적으로 삭제하려면 [email protected]@[email protected]@@2를 클릭하십시오.
Como corrigir o Erro 10004 (Erro de Microsoft Access 10004) — Deseja excluir permanentemente o (s) campo (s) selecionado (s) e todos os dados no (s) campo (s)? @ Para excluir permanentemente o (s) campo (s), clique em Sim. @@ 19 @@@ 2.
Hur man åtgärdar Fel 10004 (Microsoft Access Error 10004) — Vill du radera de markerade fälten och alla data i fältet [email protected] på Ja för att radera fältet permanent. @@ 19 @@@ 2.
Как исправить Ошибка 10004 (Ошибка Microsoft Access 10004) — Вы хотите навсегда удалить выбранное поле (поля) и все данные в них? @ Чтобы окончательно удалить поле (поля), нажмите Да. @@ 19 @@@ 2.
Jak naprawić Błąd 10004 (Błąd Microsoft Access 10004) — Czy chcesz trwale usunąć wybrane pola i wszystkie dane w [email protected] trwale usunąć pola, kliknij [email protected]@[email protected]@@2.
Cómo arreglar Error 10004 (Error 10004 de Microsoft Access) — ¿Desea eliminar permanentemente los campos seleccionados y todos los datos en los campos? @ Para eliminar permanentemente los campos, haga clic en Sí. @@ 19 @@@ 2.

The Author About The Author: Phil Hart has been a Microsoft Community Contributor since 2010. With a current point score over 100,000, they’ve contributed more than 3000 answers in the Microsoft Support forums and have created almost 200 new help articles in the Technet Wiki.

Follow Us: Facebook Youtube Twitter

Recommended Repair Tool:

This repair tool can fix common computer problems such as blue screens, crashes and freezes, missing DLL files, as well as repair malware/virus damage and more by replacing damaged and missing system files.

STEP 1:

Click Here to Download and install the Windows repair tool.

STEP 2:

Click on Start Scan and let it analyze your device.

STEP 3:

Click on Repair All to fix all of the issues it detected.

DOWNLOAD NOW

Compatibility

Requirements

1 Ghz CPU, 512 MB RAM, 40 GB HDD
This download offers unlimited scans of your Windows PC for free. Full system repairs start at $19.95.

Article ID: ACX06125EN

Applies To: Windows 10, Windows 8.1, Windows 7, Windows Vista, Windows XP, Windows 2000

Speed Up Tip #76

Optimizing Processor Scheduling Settings:

Aside from disabling visual effects, you can also increase the speed of your computer by optimizing the settings of your Processor Scheduling. Make sure that it is set correctly by choosing Programs for the Adjust for best performance option.

Click Here for another way to speed up your Windows PC

Microsoft & Windows® logos are registered trademarks of Microsoft. Disclaimer: ErrorVault.com is not affiliated with Microsoft, nor does it claim such affiliation. This page may contain definitions from https://stackoverflow.com/tags under the CC-BY-SA license. The information on this page is provided for informational purposes only. © Copyright 2018

Icon Ex Номер ошибки: Ошибка 10004
Название ошибки: Microsoft Access Error 10004
Описание ошибки: Do you want to permanently delete the selected field(s) and all the data in the field(s)?@To permanently delete the field(s), click Yes.@@19@@@2.
Разработчик: Microsoft Corporation
Программное обеспечение: Microsoft Access
Относится к: Windows XP, Vista, 7, 8, 10, 11

Оценка «Microsoft Access Error 10004»

Как правило, специалисты по ПК называют «Microsoft Access Error 10004» как тип «ошибки времени выполнения». Разработчики, такие как Microsoft Corporation, обычно проходят через несколько контрольных точек перед запуском программного обеспечения, такого как Microsoft Access. К сожалению, иногда ошибки, такие как ошибка 10004, могут быть пропущены во время этого процесса.

«Do you want to permanently delete the selected field(s) and all the data in the field(s)?@To permanently delete the field(s), click Yes.@@19@@@2.» может возникнуть у пользователей Microsoft Access даже при нормальном использовании приложения. Если возникает ошибка 10004, разработчикам будет сообщено об этой проблеме через уведомления об ошибках, которые встроены в Microsoft Access. Разработчик сможет исправить свой исходный код и выпустить обновление на рынке. Чтобы исправить такие ошибки 10004 ошибки, устанавливаемое обновление программного обеспечения будет выпущено от поставщика программного обеспечения.

Почему происходит ошибка времени выполнения 10004?

«Microsoft Access Error 10004» чаще всего может возникать при загрузке Microsoft Access. Вот три наиболее распространенные причины, по которым происходят ошибки во время выполнения ошибки 10004:

Ошибка 10004 Crash — Номер ошибки вызовет блокировка системы компьютера, препятствуя использованию программы. Обычно это происходит, когда Microsoft Access не может обработать данные в удовлетворительной форме и поэтому не может получить ожидаемый результат.

Утечка памяти «Microsoft Access Error 10004» — ошибка 10004 утечка памяти приводит к тому, что Microsoft Access использует все больше памяти, что делает ваш компьютер запуск медленнее и замедляет вывод системы. Потенциальные триггеры могут быть «бесконечным циклом», или когда программа выполняет «цикл» или повторение снова и снова.

Ошибка 10004 Logic Error — логическая ошибка Microsoft Access возникает, когда она производит неправильный вывод, несмотря на то, что пользователь предоставляет правильный ввод. Обычные причины этой проблемы связаны с ошибками в обработке данных.

Такие проблемы Microsoft Access Error 10004 обычно вызваны повреждением файла, связанного с Microsoft Access, или, в некоторых случаях, его случайным или намеренным удалением. Основной способ решить эти проблемы вручную — заменить файл Microsoft Corporation новой копией. В некоторых случаях реестр Windows пытается загрузить файл Microsoft Access Error 10004, который больше не существует; в таких ситуациях рекомендуется запустить сканирование реестра, чтобы исправить любые недопустимые ссылки на пути к файлам.

Распространенные сообщения об ошибках в Microsoft Access Error 10004

Microsoft Access Error 10004 Проблемы, связанные с Microsoft Access:

  • «Ошибка программы Microsoft Access Error 10004. «
  • «Ошибка программного обеспечения Win32: Microsoft Access Error 10004»
  • «Microsoft Access Error 10004 столкнулся с проблемой и закроется. «
  • «Microsoft Access Error 10004 не может быть найден. «
  • «Отсутствует файл Microsoft Access Error 10004.»
  • «Ошибка запуска программы: Microsoft Access Error 10004.»
  • «Файл Microsoft Access Error 10004 не запущен.»
  • «Microsoft Access Error 10004 остановлен. «
  • «Неверный путь к программе: Microsoft Access Error 10004. «

Ошибки Microsoft Access Error 10004 EXE возникают во время установки Microsoft Access, при запуске приложений, связанных с Microsoft Access Error 10004 (Microsoft Access), во время запуска или завершения работы или во время установки ОС Windows. При появлении ошибки Microsoft Access Error 10004 запишите вхождения для устранения неполадок Microsoft Access и чтобы HelpMicrosoft Corporation найти причину.

Причины ошибок в файле Microsoft Access Error 10004

Проблемы Microsoft Access Error 10004 вызваны поврежденным или отсутствующим Microsoft Access Error 10004, недопустимыми ключами реестра, связанными с Microsoft Access, или вредоносным ПО.

В частности, проблемы с Microsoft Access Error 10004, вызванные:

  • Поврежденная или недопустимая запись реестра Microsoft Access Error 10004.
  • Вредоносные программы заразили Microsoft Access Error 10004, создавая повреждение.
  • Microsoft Access Error 10004 злонамеренно удален (или ошибочно) другим изгоем или действительной программой.
  • Другое программное обеспечение, конфликтующее с Microsoft Access, Microsoft Access Error 10004 или общими ссылками.
  • Microsoft Access (Microsoft Access Error 10004) поврежден во время загрузки или установки.

Продукт Solvusoft

Загрузка
WinThruster 2022 — Проверьте свой компьютер на наличие ошибок.

Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11

Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление


  • This is the error message our client are getting from application when they try to connect to database…..

    SQL Code: -1 Error Code: 10004 DB Error Message: Unable to connect: SQL Server is unavailable or does not exist. Unable to connect: SQL Server does not exist or network access denied.1

    Any ideas??

    Thanks in Advance.

    RPS

  • Can you ping the server by name and IP?

    Can you create an ODBC connection to it at all?

    Has the client ever been able to connect to the SQL Server or is this a new installation of something?

    If the client was able to connect previously, what has changed?


    Scott Duncan

    MARCUS. Why dost thou laugh? It fits not with this hour.
    TITUS. Why, I have not another tear to shed;
    —Titus Andronicus, William Shakespeare


  • alimcitp

    SSC Eights!

    Points: 930

    It seems that client does not have permissions to connect to the server.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • Steve Jones — SSC Editor

    SSC Guru

    Points: 730358

    Or the server is down. This can be a network or permissions error.

  • Marvin D

    SSCarpal Tunnel

    Points: 4058

    Also could be a resource problem. First thing I’d check is if you yourself can connect. If you can, then it’s time to walk the road of network and security.

    Marvin Dillard
    Senior Consultant
    Claraview Inc

Viewing 5 posts — 1 through 4 (of 4 total)

Jump to content

  • Resolved Bugs

GamersFirst Forums

  • Existing user? Sign In  

  • Sign Up

  • Facebook
  • Twitter
  • Twitch





Forum rules

Sign in to follow this  

Followers
0

L0pht


getting error code 10004

By

L0pht, August 6, 2019 in Resolved Bugs


Recommended Posts

L0pht
  

27


L0pht

Posted August 6, 2019

I started yesterday when the server went down , I need help with this asap. 

Share this post


Link to post
Share on other sites

Snubnose
  

639


Snubnose

Posted August 7, 2019

YlQCnCR.png

I guess if you really can’t wait ~2 weeks for an answer from support you can update this post with your ticket # and hope for an admin to notice.

Share this post


Link to post
Share on other sites

Alani
  

475


Alani

Posted August 7, 2019

Yeah, sending a ticket to support and wait 2 weeks months of not being able to log in.

Great advice!

Share this post


Link to post
Share on other sites

Dasimoge
  

69


Dasimoge

Posted August 7, 2019

(edited)

@L0pht
«Error Code 10004 (The account is currently in use from another client)»

Restart ur internet router and PC, should work.

Edit// Or wait 30min might work too sometimes.


Edited August 7, 2019 by Dasimoge

Share this post


Link to post
Share on other sites

L0pht
  

27


L0pht

Posted August 7, 2019

Solved !!

Share this post


Link to post
Share on other sites

Amayii
  

392


Amayii

Posted August 7, 2019

As this has been resolved with the weekly maintenance, I’ll be moving the thread to the Resolved Issue  section.

~@mayii

Share this post


Link to post
Share on other sites


Guest

This topic is now closed to further replies.

Sign in to follow this  

Followers
0

Go To Topic Listing


  • Recently Browsing

      0 members

    No registered users viewing this page.

×

  • Existing user? Sign In
  • Sign Up

  • Browse

    • Back
    • Browse
    • Forums

    • Forum Rules

    • Staff

    • Online Users

  • Activity

    • Back
    • Activity
    • All Activity

    • Admin Tracker

    • Search

  • Games

    • Back
    • Games
    • APB Reloaded

    • Fallen Earth

    • Unsung Story

  • Marketplace

    • Back
    • Marketplace
    • APB Reloaded

  • Forum Rules
  • Support
×

  • Create New…

The issue is that your lp instance is infeasible so the call to .optimize() results in an infeasible status. From your code

model.write("test2.lp");
model.optimize();
model.write("forum2.sol");

if(model.get(GRB_IntAttr_Status) != GRB_OPTIMAL){
    cout << "niet optimaal " << endl;
}

You are writing a .sol file before you check for success. Gurobi gets the ‘X’ attributes from the variables when it writes a .sol file. If the optimization fails, the ‘X’ attributes aren’t available and an exception is thrown. You should make sure that gurobi has a solution before you write a .sol file, or get many attributes, including ‘X’, ‘Pi’ and ‘ObjVal’. The OPTIMAL status codes assures you that that there is an available solution, but codes like SUBOPTIMAL also indicate that there is a solution available and others like TIME_LIMIT, NODE_LIMIT mean there might be a solution available. You can get the attribute SolCount to get a definitive indication that there is a solution available.

Your problem instance is infeasible because constraints (R1, R7, R13 imply you need at least 3 projects for students 1 and 2, but constraints (R19, R20) imply they can have exactly 1 project each. You can see this by using the IIS solver. In interactive gurobi you can get get an Irreducible Inconsistent Subsystem

m = read("test2.lp")
m.optimize()
m.computeIIS()
m.write("test2.ilp")

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error code 10001
  • Error code 100006000
  • Error code 100000 5128
  • Error code 1000 0146
  • Error code 100 vk api

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии